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!

NT and Dr. Watson

Status
Not open for further replies.
Jul 20, 2001
1,153
US
I'm running NT 4.0

When I run the following code:

DoCmd.CopyObject rst2.Fields(0).Value, "moduleTest", acModule, "ModuleTest"

Dr. Watson starts up & I get an Access Violation message.

Anybody ever had something similar ??
 
two reasons spring to mind, firstly run compact and repair on the database, also check your names are in naming conventions ie you havent got a database called "Database" or a table called "table" etc etc

try that


Chance


 

rst2.Fields(0).Value is an existing db?
No (security) restrictions on accessing it?
Correct path to the database?

I guess one of these is causing the problem...

Hope this helps,

Mark.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top