Results 1 to 9 of 9
  1. #1
    Jeremy Sng is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Aug 2016
    Posts
    43

    AutoUpdate Date.

    I got an issue here.

    I have a table with date keyed on 8/2/17 but the next day open access it will be 9/2/17. Is access able to auto update date that i keyed and change itself to 9/2/17.

    Thanks

  2. #2
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2007
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    Only if the default setting is date() or there's an event somewhere that triggers the change

  3. #3
    Jeremy Sng is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Aug 2016
    Posts
    43
    So at which event the date will auto-change change?

  4. #4
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2007
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    Does the field appear on a form anywhere? If so, can that field be changed? For the tbl to change, either the default value is set to date() or a bound field on a form has been changed.

    I'm happy to look at the database if you can zip it.

  5. #5
    AccessPower's Avatar
    AccessPower is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Posts
    165
    You can do this on the on_load event of the form.

  6. #6
    Jeremy Sng is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Aug 2016
    Posts
    43
    Can you tell me more about the on_load event of the form?

  7. #7
    Jeremy Sng is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Aug 2016
    Posts
    43
    I will appear in a new line in the tbl but i want the date to update in the keyed row. Eg. 8/2/17 and update to 9/2/17 which i don't need to update myself in the tbl.

    Hope you understand my explaination.

    Thanks

  8. #8
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2007
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    is it possible to zip your database for us to look at. Easier to find.

    even if you make a copy and give us made up data

  9. #9
    Jeremy Sng is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Aug 2016
    Posts
    43
    The outcome has out. Even i put =Date() it wont update the tbl keyed rows. i think is it possible to do it in the queries or form?

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

Similar Threads

  1. Replies: 4
    Last Post: 11-20-2018, 11:57 PM
  2. Replies: 0
    Last Post: 06-22-2016, 01:33 PM
  3. Autoupdate Record
    By andy-29 in forum Access
    Replies: 4
    Last Post: 11-29-2012, 01:26 PM
  4. Replies: 3
    Last Post: 08-21-2012, 03:05 PM
  5. Need Reports to AutoUpdate
    By Silver Rain 007 in forum Reports
    Replies: 5
    Last Post: 10-16-2009, 07:28 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