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

DAO Table creation error.......

Status
Not open for further replies.

edrest

Programmer
Apr 22, 2000
73
US
In code I found on the web and this forum for creating access mdb files on the fly the opening line.....<br><br>dim mydb as DataBase<br>set mydb= CreateDatabase(&quot;C:\mydb.mdb&quot;,dbLangGeneral)<br><br>gives the error.... user defined type not defined on the first line and funciton not found on the set mydb line. Any ideas?<br><br><br>Thanks for your help <p>Tom Gahagan<br><a href=mailto:edrest@alltel.net>edrest@alltel.net</a><br><a href= > </a><br>REST<br>
<br>
Your my reason for reason.... Carlos Santana
 
Check to make sure you've got DAO Objects included in your project under Project/References...<br><br>-=ind
 
indubit.....<br><br>Thanks for answering my newbie question!!!! <p>Tom Gahagan<br><a href=mailto:edrest@alltel.net>edrest@alltel.net</a><br><a href= > </a><br>REST<br>
<br>
Your my reason for reason.... Carlos Santana
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top