Could someone forgive my newness to programing in Access and give me the primer on the Me Object? When I play with sample code that include Me.something it complains that the Me object is not defined. Is "Me" a symbolic like "FOO"?
The ME shorthand refers to the currently active object. It is a very useful shorthand reference, but will only be so in a FORM or a REPORT.
IOW, if you use "ME" in a standard module without passing it a reference so it knows what "ME" you're talking about, it won't work.
So this line:
Code:
Debug.print Me.Name
will work fine if it is in a class module on a form or a report, but will give you an error if it is in a standard module.
Jim Hare
"Remember, you're unique - just like everonone else"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.