Results 1 to 2 of 2

Thread: Variable Dates

  1. #1
    Join Date
    Oct 2004

    Unanswered: Variable Dates

    I am trying to get my database to compute an age. I know that I need
    Int(((Now())-DOB)/365.25), where DOB is the date of birth field. I need to assign that value to the Age field on DOB_LostFocus(), but it won't work. I was thinking of trying to assign a variable to try to do this, but since I know little to nothing about VB it doesn't help knowing what I need. Can someone help me figure out the code? Thanks...


  2. #2
    Join Date
    Sep 2003
    Use the DateDiff function ...
    Back to Access ... ADO is not the way to go for speed ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts