TheSearcher
Registered User.
- Local time
- Today, 18:34
- Joined
- Jul 21, 2011
- Messages
- 414
I’m trying to run a procedure in an external database from my current Microsoft Access DB.
The External database and project name is IR_Bridge.
The procedure name is RefreshClients.
RefreshClients consists of two queries: One deletes the contents of a table and another appends to it.
The procedure, when run by itself, always works perfectly.
However, when I execute the Application.Run command from the current db the query that deletes the contents of a table runs without error - but the append query throws an error stating that “The Microsoft Access database cannot find the input table or query tbl_ClientMaster”.
The table is definitely there and , as I mentioned, the procedure runs perfect on its own.
My code from the calling db is:
Does anyone know why tbl_ClientMaster isn't recognized?
Thanks in advance,
TS
The External database and project name is IR_Bridge.
The procedure name is RefreshClients.
RefreshClients consists of two queries: One deletes the contents of a table and another appends to it.
The procedure, when run by itself, always works perfectly.
However, when I execute the Application.Run command from the current db the query that deletes the contents of a table runs without error - but the append query throws an error stating that “The Microsoft Access database cannot find the input table or query tbl_ClientMaster”.
The table is definitely there and , as I mentioned, the procedure runs perfect on its own.
My code from the calling db is:
Code:
Sub RunExternalFunction()
Application.Run "IR_Bridge.RefreshClients"
End Sub
Does anyone know why tbl_ClientMaster isn't recognized?
Thanks in advance,
TS