what would the code be to have a user enter an age in a text box and have the db calculate and display year of birth +/- 5 years in a different textbox?
Basically the reverse of this and +/- 5 years:
())+(Date()<DateSerial(Year(Date()),Month([DOB]),Day([DOB])))
Thanks.
Basically the reverse of this and +/- 5 years:
())+(Date()<DateSerial(Year(Date()),Month([DOB]),Day([DOB])))
Thanks.
Last edited: