Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database connection through DAO

Status
Not open for further replies.

barbacot

Programmer
Feb 5, 2002
4
FR
Hi everybody,

I want to establish a connection to an .mdb database through Microsoft Jet engine, using DAO. I have a dialog based application and in the OnInitDialog() function I inserted the line

CDaoDatabase* pdb = new CDaoDatabase();

But the compiler doesn't seem to know what CDaoDatabase is because it reports the "undeclared identifier" error at building.

Is it something that I should have done first?
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top