Results 1 to 4 of 4
  1. #1
    stu_C is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    38

    Smile Help Needed Programing Two boxes!

    Hi all
    Ill try and explain what I need to do,

    In 'Box A' you type the amount of days you require then save.

    After a few weeks Ill recieve an actual amount for the car cost then i type in £'s the amount in 'Box B'

    What I need to do is when 'Box B' has an amount more than Zero the amount of days automatically goes to Zero

    is is possible to set this in a query?



    Thanks!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You could certainly do it in the AfterUpdate event of the 2nd box.

  3. #3
    stu_C is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    38
    what in a form? anyone know the code to do this?

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You will have to use your control names but it would look something like:
    If Me.BoxB > 0 Then
    Me.BoxA = 0
    End If

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Programmers help needed
    By n in forum Import/Export Data
    Replies: 3
    Last Post: 08-19-2011, 01:59 PM
  2. Help needed...
    By Pazz in forum Access
    Replies: 0
    Last Post: 11-02-2009, 06:59 PM
  3. New database - help needed please :)
    By tonypony in forum Database Design
    Replies: 1
    Last Post: 07-29-2009, 04:40 AM
  4. DSUM HELP needed
    By jjmartinson in forum Access
    Replies: 0
    Last Post: 07-21-2009, 01:47 PM
  5. Datediff() help needed
    By geoff44 in forum Access
    Replies: 2
    Last Post: 11-20-2008, 04:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums