Entry Date

cmw

Registered User.
Local time
Today, 22:30
Joined
Jan 21, 2008
Messages
46
A Bound Form contain one date field,that date value assign,all form new record 'defaultvalue' date. How can assign query or macro?
 
You dont... just use the default value for the date field... and put in =Date()
 
One table contain namely Entry date, this table contain one date value. That date value assign all new entry form date default value
 
?? You want to have one date in one table someplace and have that be the default date for all records??

WHY?
 
All form date field default value is current date, but i dont want current date I enter a date in Entry Date Form, This date assign all new record default date. So I want a table contain one date field, Entry date form date value is stored into that table. This table value assign default value date. I think this way, pls tell me any idea .
 
You could make a function something like so:
Code:
Function FetchDefaultDate() As Date
    FetchDefaultDate = DLookup("fieldname", "TableName")
End Function
This fetches the default date from a table, you can then use the form to use the function as default value for the field.
 
Thank you very much namliam. Its work well.I write Date field properties defaultvalue =FetchDefaultDate() ,Its dont display date. So i write Event code, Date display.
 

Users who are viewing this thread

Back
Top Bottom