Date entry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have been trying to create a form that would have a date box above a
persons name. The problem is that i want the current date to be entered as
soon as i enter a persons name. I already have the current date to be entered
as soon as i go to the next entry page, but i want it to be entered when i do
make the entry.
 
Two possibilities:

Make the default value of the date box this: Date(). This will enter the
date as soon as you go to a new record.

If you don't want to see the date until after you enter the name, then in
the AfterUpdate event of the text box containing the name, have this:

DateBox = Date()

where DateBox is the box containing the date.
 
Back
Top