Forum Moderators: mack

Message Too Old, No Replies

Automatically inserting Date into Access

Using Dreamweaver MX and MS Access

         

Stephen Tiller

11:06 am on May 21, 2003 (gmt 0)

10+ Year Member



I would appreciate it if anybody can tell me how to automatically insert the date into a MS Access back end when somebody registers on my web-site. At the moment I manually check the database for new registrations and type in the date manually.

Steve

ukgimp

11:31 am on May 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do that in access itself so that when a new entry is inserted you have date added field that is set to now(), if now() does not work then it is date() :)

davemarks

11:37 am on May 21, 2003 (gmt 0)

10+ Year Member



or just use timestamp ;)

oyster2

7:17 am on May 22, 2003 (gmt 0)

Stephen Tiller

9:13 am on May 22, 2003 (gmt 0)

10+ Year Member



Thanks everybody, much appreciated, tested and working okay plus good references.

Just for the record, as I know there are people unfamiliar to MS Access, and some that hate it (like my one of my boss's). The idiots guide to doing this is below:

Select the appropriate Field Name, set Datatype to Date/Time then click in the Default Value area to bring up the elipsis (...). Clicking on the elipsis brings up the expression buider, choose the functions ->built-in functions->Date/Time and choose now or date or appropriate.

Steve