Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

You can not carry out this action at the present time Error

Status
Not open for further replies.

Mikeauz

Technical User
Jul 23, 2002
75
AU
Hi,
(Access 2000)
I'm using append queries, pulling from pass through queries to append data to access tables.

These have worked for ages without change but now when I try to run the below code I get the error 'You can not carry out this action at the present time' on each of the .openquery lines.

The funny thing is that the append queries work fine if I run them manually.

Thanks for any Help
Mike




Function Import()

DoCmd.OpenQuery "QryImportCallsByUser_ODBC"
DoCmd.OpenQuery "QryAppendMTDAHT"
DoCmd.OpenQuery "QryAppendShortCalls"
DoCmd.OpenQuery "QryAppendDealerSupport"
DoCmd.OpenQuery "QryAppendDeviations"
DoCmd.OpenQuery "QryImport"
DoCmd.OpenQuery "QryMacroLog"

Application.Quit

End Function
 
are you opening a table in design mode? or even another query in design mode?

--------------------
Procrastinate Now!
 
Crowley,

Thanks for answering but not opening the queries or tables in design mode
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top