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

Can't copy forms from a macro

Status
Not open for further replies.

SamirNaenenjad

Programmer
Mar 20, 2002
13
0
0
US
I wrote a macro which attempts to copy some forms from this Access 97 database to another using "Copy Object". One of the forms copies fine, but the other two cause the macro to blow up and the message "Object invalid or no longer set" appears. From time to time the whole database shuts down, and I have to decompile the mdb to use the forms.

Does anyone know what my problem may be? Is it impossible to copy forms with some code into another database?

Thanks so much for the help in advance,
A.J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top