Link to home
Start Free TrialLog in
Avatar of cbjorkman
cbjorkman

asked on

Selecting from 2 Tables with DAO

Hi !

I'm quite new to C++ and has a question regarding databases.

I have created a project which is connected to a Access database.
My problem is now that I need to get info from 2 different tables in my database.
How do I choose which one my 'm_pSet' pointer is pointing at?

Code created by Appwizard in the Set file...

CString CRekaSet::GetDefaultSQL()
{
      return _T("[LoggedData],[Warehouse]");
}

Help appriciated!
Thanx, Christer.
ASKER CERTIFIED SOLUTION
Avatar of inpras
inpras

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial