I have an application in MS Access. I have e Module. One is for GetCurent
UserName and second for OpenFile. When I run it I get this error
"The expression On Open you entered as the event property settings produced
the following error: Constants, fixed-length strings, arrays, user-defined
types and Declare statement not allowed as Public members of objects
modules." If I close this error message than my application runs without
problem.
How can I get out this error?
Klatuu - 20 Jul 2007 21:42 GMT
Is it possible you have your module named the same as a function or sub in
the module?

Signature
Dave Hargis, Microsoft Access MVP
> I have an application in MS Access. I have e Module. One is for GetCurent
> UserName and second for OpenFile. When I run it I get this error
[quoted text clipped - 5 lines]
>
> How can I get out this error?