Results 1 to 3 of 3
  1. #1
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672

    Adding the Date & Time record added


    I am trying to add the date and time that a record was added to my form, and I first added this to my table, then second on the form, I went to design view, and then right clicked the field and went to properties and set it as =Now() . But when I switch back to the Datasheet view it shows =Now(). What am I doing wrong here?

  2. #2
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    I think what you want to do is set the 'DefaultValue' property of this field to =Now(). If you added a field to the table (such as something called: DateEntered), then on the form you would only want to set the defaultvalue of DateEntered so that only newly entered records will have this field set to the current date/time. If you entered =Now() for the 'ControlSource' property of this field on the form, then you're not storing the value in an actual field.

    You'll need to populate existing records with a date/time value or these will be blank.

    If after putting in =Now() for the defaultvalue and if it's then not showing the actual date/time as the default for new records, then check your References to see if you have the appropriate Reference loaded (see Reference help for more info).

  3. #3
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    I have that set in the default value field. Where is the references?

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

Similar Threads

  1. Help with Adding Time Stamp to Contact
    By shanethomp in forum Access
    Replies: 1
    Last Post: 11-09-2010, 09:43 AM
  2. Adding todays date
    By EDEd in forum Forms
    Replies: 2
    Last Post: 10-08-2010, 06:27 PM
  3. Replies: 5
    Last Post: 06-29-2010, 01:24 PM
  4. Adding 'Last Edited' Date
    By vCallNSPF in forum Forms
    Replies: 2
    Last Post: 12-16-2009, 04:36 PM
  5. Replies: 4
    Last Post: 01-29-2009, 02:43 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