I guess I need more info. I tried putting your statement in the ON FORMAT
line of the EVENT tab in the page header properties, and it says it can't
find a macro ME.
I guess I need more info. I tried putting your statement in the ON
FORMAT line of the EVENT tab in the page header properties, and it
says it can't find a macro ME.
In that box drop down the list of choices and choose [Event Procedure].
Then press the build button [...] to the right of the box. That will take
you to the VBA editor window and that is where you put your code. Access
will automatically create the lines that define the start and end of the
code block. Your line(s) need to go between them.
Rick answered the question, but I want to add that you
should not confuse the event **properties** and the event
**procedures**. The event properties are used to indicate
how an event is connected to the corresponding event handler
macro, VBA function or event procedure.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.