Results 1 to 3 of 3
  1. #1
    zoooza84 is offline Novice
    Windows Vista Access 2007
    Join Date
    Aug 2011
    Posts
    5

    Date and Time Stamp

    Hello Everyone,

    I'm new to the forum and access!
    I created a database to store customer's details, i have a text box (memo) which enables me to add notes. I'm trying to get Date and time printed automatically and saved in the text box each time i use it so that i keep track of when the details have been entered. i tried using (RunCode --> (Expression Builder Now()) in event (On Got Focus) but nothing happens when i click on the notes box.
    Is there a way of achieving this in access 2007?

    Thanks in advance

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Your textbox is on a form, right? Is this form bound-- that is-- is it based on a Table?
    I expect that you have a Customer table, and that each Customer is uniquely identified by an Identifier.
    You could have a table called Notes that has fields, such as

    NoteId (PK)
    CustomerId (FK to customer table)
    Date/Time
    NoteText

    This would allow
    - a Customer may have 0 or many Notes, and
    - a Note refers to 1 Customer
    - a Note can be identified by Customer, or Date/Time

  3. #3
    zoooza84 is offline Novice
    Windows Vista Access 2007
    Join Date
    Aug 2011
    Posts
    5
    Thanks orange for ur reply, yes the text box z part of a form which z connected to a table that stores everything n that form. Was wondering if it's possible to use ( expression builder) or a macro that would write the date automaticcally as part of the text when focus on the text box.

    Looking forward to ur replies.
    Thanks

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. Append Query: Time Stamp
    By AKQTS in forum Programming
    Replies: 3
    Last Post: 08-16-2010, 12:34 PM
  3. Question about Button and Time Stamp
    By euroclyde in forum Access
    Replies: 2
    Last Post: 06-16-2010, 09:01 AM
  4. Time Stamp Removal/deletion?
    By thorsonb in forum Access
    Replies: 3
    Last Post: 03-30-2010, 10:17 PM
  5. Replies: 4
    Last Post: 01-30-2010, 05:22 PM

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