Auto Date Input

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

Guest

How can i auotmatically have the date input on new records when they are
created. If i use a form to input data into the table, but there is a field
in the same table with the date/Time format selected.
 
PC nerd,

Set the Default Value of the field to Date(). This can be done in the
design view of the table, or via the default vlaue property of the
control on your form.
 
I want the date automaticall input, without me having to anything.
even thoguh i have set the field to a date/time.
 
PC nerd,

Yes, I understand your requirement. Did you try the approach I
suggested by setting the Default Value of the field?
 
Another option is in the forms's before insert event. ( me.fieldname =
date() )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top