Requery

S

Sharon

I have typed the following in an event procedure to requery a field:
"ME.Inventor.Requery." It does work, but everytime I use it a message comes
up that it can't find a macro named "Me!Inventor." It says the macro doesn't
exist or I haven't saved it. How do I stop that?
 
A

Allen Browne

Did you actually type this into the Event tab on the Property sheet?

If so, change the entry to:
[event procedure]
Then click the Build button (...) beside this.
Access opens the code window.
Type the code on its own line, between the "Private Sub..." and "End Sub"
lines.
 
Top