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

Recently I wanted to update a database of mine. So i added the two fo

Status
Not open for further replies.

jeph

Programmer
Jun 21, 2000
10
DE
Recently I wanted to update a database of mine.<br>So i added the two forms i had changed and another form which was to replace the old forms in the other db. Now what happened was: the first form was replaced and when the second was to be replaced access97 gave me the error message &quot;Object not valid&quot;. <br>My code look like this: <br>docmd.copy object path & &quot;microp_d.mdb&quot;, &quot;Approval&quot; ,acform, &quot;Approval&quot;<br>I also tried &quot;docmd.transferdatabase ...&quot;&nbsp;&nbsp;with the same result.<br>Does anybody know what causes this?<br>Is there another way to copy several objects (forms,queries, modules) into another database without having to open the other one?<br><br>Thanks,<br>jeph
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top