Results 1 to 5 of 5
  1. #1
    Daccess is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2019
    Posts
    7

    Save current date when a change to the record is made.


    I want to save the current date in a record's field whenever there is a change to that record.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    Use code in form BeforeUpdate event:

    Me!datefield = Date()
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Daccess is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2019
    Posts
    7
    Hmmm - as an access beginner I haven’t learned how to write code yet. Thanks for your help.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    No time like now to learn. In addition to Paul's kick start, here is more https://support.office.com/en-us/art...7-70649e33be4f

    Use macro or VBA. I prefer VBA.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 02-11-2019, 08:54 PM
  2. Save record so no changes can be made
    By angie in forum Programming
    Replies: 5
    Last Post: 04-26-2017, 06:45 AM
  3. Replies: 1
    Last Post: 01-12-2015, 12:54 PM
  4. Replies: 5
    Last Post: 07-30-2013, 01:12 PM
  5. Replies: 11
    Last Post: 03-29-2012, 11:23 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