Hello
I have searched the forum and have not had any luck finding a similarly related post and I hope someone can spare a moment to help out.
(I am new at this stuff so the answer may be obvious to most of you.)
I can't get a Before Update Event on a form to execute correctly in a function. The error I get is:
"The expression BeforeUpdate you entered as the event property setting produced the following error: The object doesn't contain the Automation Object 'AuditTrail' "
As part of my attempt to find out why, I opened up the mystical Northwind MDB, created an identical function, tried it out and it works fine.
I used the documenter to compare properties of the forms in my mdb versus the Northwind MDB and didn't see any big show stoppers there.
The only difference I can see is that in my mdb, On the Form properties, Event tab, Before Update line, I try to enter "AuditTrail()" and the system replaces what I type with "[AuditTrail]". In the Northwind MDB it doesn't replace what I type and keeps it as "Audit Trail()".
Does anyone have an idea if the [ ] is causing the problem and if it is what property setting do I have to change or whatever to make it work?
Thanks
Tom in a very hot Austin, Texas