code

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
 
J

John Vinson

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]
 
Top