Results 1 to 3 of 3
  1. #1
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581

    Put a date in a field


    I have a table with 3 fields that I need to work on [StartDate], [EndDate], [ChangeDate]. What I'm wanting to do is whenever I make a change to either [StartDate] or [EndDate], I want [ChangeDate] to get the latest date. Is there a way to do this?

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    Code:
    sub StartDate_Afterupdate()
      ChangeDate =date
    end sub
    
    sub EndDate_Afterupdate()
      ChangeDate =date
    end sub

  3. #3
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581
    Worked perfectly. You're awesome. Thanks.

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

Similar Threads

  1. Replies: 1
    Last Post: 04-29-2016, 04:03 AM
  2. Replies: 6
    Last Post: 06-26-2015, 08:55 PM
  3. Replies: 20
    Last Post: 01-13-2015, 02:23 PM
  4. Replies: 7
    Last Post: 06-20-2014, 08:25 AM
  5. Replies: 2
    Last Post: 05-22-2014, 06:11 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