Setting a date last updated field ?
What's the best (and hopefully easy) way to automatically update a special field that contains the date (and possibly the time) of when a table's record has been updated (added or changed) ?
This date last updated would not be a user-updateable field on a form, but reside on each table's record.
I have an Access application where the main input table is imported from data on our mainframe, and I would like to keep audit trail information on each record when ever it is updated (or possibly when a specific field has been updated as well).
I know there are properties that can be set like: 'after update', 'on change', but I'm not sure what would be the easiest way to set this 'date last updated' or if I have to check each field on the form to set it. On my mainframe applications its easy to set right before a 'write' or 'rewrite' operation occurs.
Initially I would like to set this date anytime any field on the form has been changed (or added), and I know how easy it is to figure out some convoluted way of doing something that should be easy.
Thanks for your advice !
airmojo
What's the best (and hopefully easy) way to automatically update a special field that contains the date (and possibly the time) of when a table's record has been updated (added or changed) ?
This date last updated would not be a user-updateable field on a form, but reside on each table's record.
I have an Access application where the main input table is imported from data on our mainframe, and I would like to keep audit trail information on each record when ever it is updated (or possibly when a specific field has been updated as well).
I know there are properties that can be set like: 'after update', 'on change', but I'm not sure what would be the easiest way to set this 'date last updated' or if I have to check each field on the form to set it. On my mainframe applications its easy to set right before a 'write' or 'rewrite' operation occurs.
Initially I would like to set this date anytime any field on the form has been changed (or added), and I know how easy it is to figure out some convoluted way of doing something that should be easy.
Thanks for your advice !
airmojo