Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / July 2007

Tip: Looking for answers? Try searching our database.

Public members of objects modules

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cati - 20 Jul 2007 20:32 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.