Dim As Database ???

  • Thread starter Thread starter resurrection
  • Start date Start date
R

resurrection

Guest
I'm feeling really stupid...

I'm making database for entering customers, orders and printing labels. OK, nothing special.

And there is my problem:
For CommandButon_Click comand I want write code:
Dim MyData As Database.
But option Database (and few others) isn't included in shown dropdown list.

What to do ???

Thx.
 
In the VB window go to Tools>Reference and make sure that you tick the box 'Microsoft DAO 3.6 Object Library'.
Also make sure that it is set to higher priority than the Active X library other wise you will need to use 'dim YourDb As DAO.Database'

Kev.
 
Nero,
thank you for your response.
Just great ... and greater is ... it works!
 

Users who are viewing this thread

Back
Top Bottom