I have a table called audit_log. This table has three fields. Ref, Dateofentry, Action. My plan is this.
The user enters duty details into a form which is linked to temp_duty_details. On this form at the bottom are some buttons which are set to open up different mail merge documents in word. Want I want to do is when a user presses one of these buttons an entry is made in the audit_log table. The ref is taken from the form but the date_of_entry would be Now() and the action would be text such as "monitoring form printed" The problem I have is getting the date and action entered directly into the audit_log table using code or SQL?
Any ideas.
Thanks
The user enters duty details into a form which is linked to temp_duty_details. On this form at the bottom are some buttons which are set to open up different mail merge documents in word. Want I want to do is when a user presses one of these buttons an entry is made in the audit_log table. The ref is taken from the form but the date_of_entry would be Now() and the action would be text such as "monitoring form printed" The problem I have is getting the date and action entered directly into the audit_log table using code or SQL?
Any ideas.
Thanks