dim db as database

  • Thread starter Thread starter pat
  • Start date Start date
P

pat

I Have to have the following in some code but the
term 'database' does not appear in the listing of
options??



Dim db as Database

what am i doing wrong??

pat
 
Alt F11 then Tools|References and check the box for 'Microsoft ActiveX Data
Objects 2.x Library' and or 'Microsoft DAO 3.6 Object Library'

The first is for ADO the latter is for DAO

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I Have to have the following in some code but the
| term 'database' does not appear in the listing of
| options??
|
|
|
| Dim db as Database
|
| what am i doing wrong??
|
| pat
 
It would probably have been more help if you'd mentioned that only DAO has a
database object in it, so that you MUST have the DAO library selected.
 
Back
Top