dim dbsmybe as database

J

Jan

xp vb 6.3 access 2002

I get the error user defined type not defined
Database option does not even appear on the dropdown after
typing dim dbsmyne as
Am i missing a reference to a library? If so what is it
called
 
C

chas

Hi,

in the VBA editor choose Tools|References and
select 'Microsoft DAO 3,6 Object Library'. If you will
not be using ADO you can unselect this option.

hth

chas
 

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

Top