Results 1 to 3 of 3
  1. #1
    johnkl49 is offline Novice
    Windows XP Access 2000
    Join Date
    Sep 2009
    Posts
    3

    present date in data field

    I'm an old timer trying to teach myself access. I want to show the current date [=date()] on a form page and when the form is closed enter the date in a field of a record in a table. Everyday I want a new record to be created with the present date in it.

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    Add a textbox to your form and call it TxtToday.

    Set the Enabled Property to False
    Set the Locked property to True
    Set theDefaultValue to =Date()

    In you table go to the properties of the field that holds the date in question and select the Default value to =Date()

    This will add todays date to every new record that is added in the table.

    David

  3. #3
    johnkl49 is offline Novice
    Windows XP Access 2000
    Join Date
    Sep 2009
    Posts
    3

    present date in data field

    Thank you Dave. That took care of one problem I was having.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Can't Edit Date Field
    By MOtis in forum Forms
    Replies: 1
    Last Post: 09-10-2009, 03:57 AM
  2. Replies: 2
    Last Post: 07-31-2009, 06:56 AM
  3. Problem with date field...
    By Rameez in forum Access
    Replies: 9
    Last Post: 06-23-2009, 10:29 AM
  4. Extra date field update
    By georgft in forum Forms
    Replies: 0
    Last Post: 09-17-2008, 06:51 AM
  5. date/time field
    By James890 in forum Database Design
    Replies: 1
    Last Post: 04-18-2007, 07:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums