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!

Runtime Error 429 - really stuck!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to write some VBA to perform some operations on records within one of my tables.

Whenever my procedure tries to run I get the "Runtime 429" activex error. But why do I get this?

Here is a sample:

Dim MyDb As Database
Set MyDb = OpenDatabase("C:\Test.mdb")

As soon as it hits the "Set..." line I get the message?
Does anyone know how to resolve this problem or can you give me an example of how you guys normally open up a table using VBA.

Your help is much appreciated!
 
You are probably missing your reference to DAO -- in a module, check tools, references
 
Hi Nancy

Thanks for your help with this. I've looked under tools, references and there is a tick in the box "Microsoft DAO 3.51 Object Library". Is there anything else I should be looking for??

 
Hi Nancy

Thanks for your help with this. I've looked under tools, references and there is a tick in the box "Microsoft DAO 3.51 Object Library". Is there anything else I should be looking for??

 
Try moving the DAO ref up the order so that it is above the ADO ref.

:-9
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top