...not as interesting as it sounds.
I am looking to use the Dirty function in Access 97 to create an audit log within my database. What I would like to do is the following:
In my Form (Form1), which is based on Table1, I would like to put an after update event on selected fields to do the following. If the field has been altered in any way, I I want to create a new record in Table2 recording the date/time of the change, the username, the old value and the new value of the field. I don't want it to be apparent to the user that this procedure has taken place.
I am way over my head here but I'm sure this can be done. Do any of you VBA experts have any ideas for the code? (I'm a VBA virgin so be gentle!)
I am looking to use the Dirty function in Access 97 to create an audit log within my database. What I would like to do is the following:
In my Form (Form1), which is based on Table1, I would like to put an after update event on selected fields to do the following. If the field has been altered in any way, I I want to create a new record in Table2 recording the date/time of the change, the username, the old value and the new value of the field. I don't want it to be apparent to the user that this procedure has taken place.
I am way over my head here but I'm sure this can be done. Do any of you VBA experts have any ideas for the code? (I'm a VBA virgin so be gentle!)