Results 1 to 2 of 2
  1. #1
    markyboy is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    May 2011
    Posts
    4

    Delay in the result

    I have two text boxes on a form
    D.O.B and age the only problem is when they enter in their date of birth you have to hit enter in the DOB for it to be displayed in the age. Anyway to fix this im sure its quite simple but i dont have a clue


    Oh ye and their is a formula in the age text box that is generated of the DOB

  2. #2
    Rixxe is offline Blessed Bear
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Location
    London (Essex ... yep!)
    Posts
    184
    Well it would mean you would have to check if the date is valid before going ahead with the calculation if i understand what you mean.
    If you didnt need to press enter to confirm, you could write '22/06/201' as a date, and it would error.

    You could always check that the value in the DOB field was 10 chars, and then calculate.

    IF TextDOB len = 10
    THEN Do calculation
    ELSE
    DO something else
    END IF



    Good Luck

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

Similar Threads

  1. result -1 in Iff statement
    By newtoAccess in forum Queries
    Replies: 10
    Last Post: 04-08-2011, 05:43 PM
  2. can i put the result in array?
    By dada in forum Programming
    Replies: 1
    Last Post: 08-19-2010, 07:17 PM
  3. how to return the result?
    By lamkee in forum Access
    Replies: 1
    Last Post: 08-10-2010, 10:50 AM
  4. Passing SQL result into variable
    By jonny in forum Access
    Replies: 3
    Last Post: 10-18-2009, 07:46 AM
  5. Multiple inputs one result
    By ee12csvt in forum Queries
    Replies: 0
    Last Post: 09-11-2009, 03:19 AM

Tags for this Thread

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