G
Guest
Hi
How can you set a date field so that the user types in :
dd/mm/yy
and the result is automatically changed to
dd/mm/19yy or dd/mm/20yy
to reflect which century the date falls in, thus saving keystrokes? I've
seen this in an access database form but don't know how to code it.
I guess you'll have to "test" the entered year to determine whether it
should have 19 or 20 as a prefix, and then save this 4-digit year along with
the rest of the date in the underlying table.
Thanks
rich
How can you set a date field so that the user types in :
dd/mm/yy
and the result is automatically changed to
dd/mm/19yy or dd/mm/20yy
to reflect which century the date falls in, thus saving keystrokes? I've
seen this in an access database form but don't know how to code it.
I guess you'll have to "test" the entered year to determine whether it
should have 19 or 20 as a prefix, and then save this 4-digit year along with
the rest of the date in the underlying table.
Thanks
rich