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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error 29068 "you must stop the code and try again"

Status
Not open for further replies.

rssql

Programmer
Jul 22, 2002
87
US
this is weird..
Run-time error 29068
Microsoft Access cannot complete this operation. You must stop the code and try again.

I've seen it couple times. It errors on the CopyObject statement. Most recently when the following code runs:

****************************
DoCmd.SetWarnings False 'turns off messages

DoCmd.CopyObject , "FinancialCoverSheet", acForm, "FinancialCoverSheetOriginal"

DoCmd.SetWarnings True 'turns on messages
****************************

i'm trying to copy a form, so i can make changes with my code. It all works, but sometimes it gives the error.
 
i'm hoping someone will have seen this error.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top