matthewnsarah07
Registered User.
- Local time
- Today, 11:07
- Joined
- Feb 19, 2008
- Messages
- 192
I want to add an audit trail to my existing database.
Basically when certain button are clicked I want the On Click event to add an entry into tblAudit.
tblAudit contains [Request Number], [Action], [Date] [Time] [User]
I want the request number to be taken from the form field of the same name, Action will be a set phrase such as "Record Updated" and Date, Time and User just stamped e.g. Date() etc.
How would I go about writing the code to insert this record, can it be done though a query more easily?
Thanks for your help
Basically when certain button are clicked I want the On Click event to add an entry into tblAudit.
tblAudit contains [Request Number], [Action], [Date] [Time] [User]
I want the request number to be taken from the form field of the same name, Action will be a set phrase such as "Record Updated" and Date, Time and User just stamped e.g. Date() etc.
How would I go about writing the code to insert this record, can it be done though a query more easily?
Thanks for your help