G
Guest
I have an Acess 2000 applicatoin that's just loaded with dates. To help
speed up data entry, I'd like to find a way for the users to put in a
shortcut some how, like a letter in the date field and then let the system
insert the correct date. Most of the time, the dates they need will be
either today, yesterday or one week from today.
If the user enters a "c" into the ReceivedDate for example, I'd like to put
in today's date. If they put in a "y", I'd like yesterday's date and if they
put a "w" in the field, I'd like to calculate a future date one week from
today.
When I try to insert the code to do this, I get a message from Access that
the value entered isn't valid for the field. That's true, it's a date field
and I've put a character in there. I've tried both the before update and
after update event for the field.
Does anyone know how to get around this, or maybe even a better way to get
the job done?
speed up data entry, I'd like to find a way for the users to put in a
shortcut some how, like a letter in the date field and then let the system
insert the correct date. Most of the time, the dates they need will be
either today, yesterday or one week from today.
If the user enters a "c" into the ReceivedDate for example, I'd like to put
in today's date. If they put in a "y", I'd like yesterday's date and if they
put a "w" in the field, I'd like to calculate a future date one week from
today.
When I try to insert the code to do this, I get a message from Access that
the value entered isn't valid for the field. That's true, it's a date field
and I've put a character in there. I've tried both the before update and
after update event for the field.
Does anyone know how to get around this, or maybe even a better way to get
the job done?