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

TableDef - Not Defined Error! 1

Status
Not open for further replies.

joatmofn

Technical User
Jan 12, 2003
72
US
I have a function with the following line in it...

Dim tdTable As tabledef

I get a compile error saying "User-defined type not defined."

Can someone tell me why? And what to do about it? I'm using Access 2000.

Thanks a bunch.
 
You must add a reference to the ADOX library.

Go to:

Tools->References

Then check:

Microsoft DAO 3.x Object Library and click OK

Now everything should work.

 
Sorry, I meant the DAO library.

which means Data Accesss Objects
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top