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],[Warehous e]");
}
Help appriciated!
Thanx, Christer.
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],[Warehous
}
Help appriciated!
Thanx, Christer.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.