Hi and thanks for your help,
Note: I am using Access 2002
I am trying to update my "LastUpdatedDate" field with the NOW() date/time stamp if there is a change on its row.
Right now, I have followed the instructions that Doanair gave another guy trying to figure this out:
DATETIME to the table e.g. named LastUpdatedDate that indicates the last updated date/time of each row. Make it NOT NULL so that you will have to write an updated DATETIME value to that column for each INSERT or UPDATE. Also, set the column to have a default of DATE() for the current date stamp or NOW() for the current date/time stamp.
Unfortunately it still doesn't change the field if something is changed on the row. He mentioned that I should:
Then add a Validation Rule or CHECK constraint e.g. CHECK (LastUpdatedDate = NOW()) to ensure the column is actually updated on each UPDATE and INSERT.
But there isn't a check function in Access XP that I know of.
Any ideas guys/gals?
Thanks, Will