Compile Error

Meltdown

Registered User.
Local time
Today, 14:03
Joined
Feb 25, 2002
Messages
472
Hi all, I keep getting a Compile Error when I try to run some code, it a "Error Loading dll" error.

Below is a snippet of code, it stops at Set conn = CurrentProject.Connection

PHP:
 Dim conn As New ADODB.Connection
        Dim rs As New ADODB.Recordset
        
        Set conn = CurrentProject.Connection

I have no missing references.
I have compacted and repaired

I have the reference to ADO 2.6 as the top in my list of references.

Hope someone can help, I didn't find a solution that worked with the search results I reviewed.

Thanks
 

Users who are viewing this thread

Back
Top Bottom