Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Systems Clock and date. 1

Status
Not open for further replies.

JamesLynch

Technical User
Oct 30, 2002
11
GB
Is it possible to import the system date into a particular field.

Thereby everytime the end user enters their sales details, the time and date is automaticaly recorded, in turn these can then be sorted by various time frames?
 
Hallo,

Create a field (datSalesDate, type Date/Time) in the table you are populating. In the Sales Details form put the following line in the Form AfterUpdate event procedure:
me!datSalesDate = Now
You can display the field on the form if you like, but you might want to make it Locked.

- Frink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top