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 / Queries / May 2005

Tip: Looking for answers? Try searching our database.

Invalid Procedure Call

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ben - 07 May 2005 01:05 GMT
Hi all,

I am running into to problem with Access 97.
I have two queries.
In query2, it calls query1 which I joined to another table.
within query2, I used some VBA functions, mid() and right().
when I run query2, Access97 gives me this error message of "Invalid
Procedure Call".

I check query1 and it ran fine.  I am not sure what the problem it is.
These two queries are
production queries.  Please help.  Thanks for sharing your thoughts.

Ben
John Vinson - 07 May 2005 23:45 GMT
>I am running into to problem with Access 97.
>I have two queries.
>In query2, it calls query1 which I joined to another table.
>within query2, I used some VBA functions, mid() and right().
>when I run query2, Access97 gives me this error message of "Invalid
>Procedure Call".
This appears to be the very common References bug.  Open any
module in design view, or open the VBA editor by typing
Ctrl-G. Select Tools... References from the menu. One of the
.DLL files required by Access will probably be marked
MISSING. Uncheck it, recheck it, close and open Access.

If none are MISSING, check any reference; close and open
Access; then uncheck it again. This will force Access to
relink the libraries.

                 John W. Vinson[MVP]    
 
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.