code

  • Thread starter Thread starter ps
  • Start date Start date
P

ps

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
 
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??

Open the VBA editor; select Tools... References from the menu. Make
sure that Microsoft DAO x.xx Object Library (use the highest value of
x.xx, it varies with your version of Access) is checked.

You may also want to UNcheck Microsoft ActiveX Data Objects, unless
you're intentionally using ADO code elsewhere. If you don't know
whether you are or not... you probably aren't. <g>

John W. Vinson[MVP]
 

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

Back
Top