Running a macro from a data access page

Atomsk

Registered User.
Local time
Today, 09:48
Joined
Jun 14, 2003
Messages
13
I'm trying to add a "last updated" field to a table. So far I've got a macro that assigns the value Date() to that field for a corresponding record when run.

Now I'm trying to link it to a "save changes" command button in a DAP in its' property field "Onbeforeactivate". All I'm doing is entering the name of the macro into the field, but it throws me a script error when I click the button ('LastUpdated' is undefined). I get the feeling that the syntax is off or something (it works perfectly for a form, btw). Any ideas? Thanks a lot.
 

Users who are viewing this thread

Back
Top Bottom