If you can ensure all data entries / edits are done through the Form and not
DatasheetView of the Table / Query, you can use the Form_BeforeUpdate to
record the "DateTimeUpdated" in conj. with the edit.
I created a table field entryin my main table: "DateUpdated"
I right clicked the main form properties button (my main form has many
subforms), I typed in me.dateupdated = Now() in the MAIN form beforeupdate
property.
I still cannot see/record the update date in my table...what little step am
I missing?
I created a table field entryin my main table: "DateUpdated"
I right clicked the main form properties button (my main form has many
subforms), I typed in me.dateupdated = Now() in the MAIN form beforeupdate
property.
I still cannot see/record the update date in my table...what little step am
I missing?
What you need to do is click the ... icon by the BeforeUpdate
property; invoke the Code Builder; and insert this line between the
Sub and End Sub lines which Access will provide.
*NOT* obvious until the third or fourth time you need to do it!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.