MSFN Forum: Access question - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Access question Rate Topic: -----

#1 User is offline   WitchyRed 

  • Group: Members
  • Posts: 3
  • Joined: 16-June 03

Posted 16 June 2003 - 01:31 PM

How do I go about converting a date of birth field to age?? :)


#2 User is offline   vcant 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 15-May 03

Posted 16 June 2003 - 01:34 PM

since my my computer doesnt work, and im on the other one i can not test it and give you the exact answer, but it should go somethig like that:
select (now-bdate) as age.....

#3 User is offline   WitchyRed 

  • Group: Members
  • Posts: 3
  • Joined: 16-June 03

Posted 16 June 2003 - 01:36 PM

where would I enter that?

#4 User is offline   vcant 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 15-May 03

Posted 16 June 2003 - 01:40 PM

ok, let say you making a new query
then you put it like this:

select (now - bdatecolumn) as myage
from mytable

#5 User is offline   WitchyRed 

  • Group: Members
  • Posts: 3
  • Joined: 16-June 03

Posted 16 June 2003 - 02:16 PM

Thank You! :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy