Apr 29, 2004 #1 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.
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.
Apr 29, 2004 1 #2 BGrego Programmer Jul 1, 2003 37 US 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. Upvote 0 Downvote
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.
Apr 29, 2004 #3 BGrego Programmer Jul 1, 2003 37 US Sorry, I meant the DAO library. which means Data Accesss Objects Upvote 0 Downvote
Apr 29, 2004 Thread starter #4 joatmofn Technical User Jan 12, 2003 72 US Thanks a bunch - here's a star for you! Upvote 0 Downvote