ShowUserRosterMultipleUsers

C

Carol Bell

I have used the code located at the below site, however
when I try to run it in the Northwind database, I get the
following error.

Compile Error: User-defined type not defined

And this is where it brings be to in the code.

Sub ShowUserRosterMultipleUsers()
Dim cn As New ADODB.Connection


http://support.microsoft.com/default.aspx?scid=kb;EN-
US;285822#appliesto
 
T

Tim Ferguson

I have used the code located at the below site, however
when I try to run it in the Northwind database, I get the
following error.

Compile Error: User-defined type not defined

And this is where it brings be to in the code.

Sub ShowUserRosterMultipleUsers()
Dim cn As New ADODB.Connection

Last I knew, the Northwind demo was based on DAO. Have you looked to see if
the reference to Microsoft Activex Data Objects is checked?

Tim F
 
C

Carol Bell

-----Original Message-----


Last I knew, the Northwind demo was based on DAO. Have you looked to see if
the reference to Microsoft Activex Data Objects is checked?

Tim F

.
Thanks! That was the problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top