Click here to Skip to main content
15,912,897 members
Home / Discussions / Database
   

Database

 
GeneralGrrrr -- Oracle OLE DB Driver Pin
Steve S7-Apr-04 5:27
Steve S7-Apr-04 5:27 
GeneralRe: Grrrr -- Oracle OLE DB Driver Pin
RichardGrimmer19-Apr-04 5:19
RichardGrimmer19-Apr-04 5:19 
GeneralDefault field value Pin
Shenthil7-Apr-04 1:47
Shenthil7-Apr-04 1:47 
GeneralCreate a Database Softwre Pin
Ajit Jagannath6-Apr-04 5:27
Ajit Jagannath6-Apr-04 5:27 
GeneralRe: Create a Database Softwre Pin
Hesham Amin6-Apr-04 21:35
Hesham Amin6-Apr-04 21:35 
GeneralDAO Access and system.mdw Pin
cr976-Apr-04 3:56
cr976-Apr-04 3:56 
GeneralRe: DAO Access and system.mdw Pin
Mike Ellison6-Apr-04 5:45
Mike Ellison6-Apr-04 5:45 
GeneralRe: DAO Access and system.mdw Pin
cr976-Apr-04 21:47
cr976-Apr-04 21:47 
thanx ...

But how can i do that in C++ ???

i found this ...

void CDaoWorkspace::Create(LPCTSTR lpszName, LPCTSTR lpszUserName, LPCTSTR lpszPassword)
{
  ...

	// Get the DAODBEngine interface and initialize if necessary
	_AFX_DAO_STATE* pDaoState = AfxGetDaoState();
	if (pDaoState->m_pDAODBEngine == NULL)
		InitializeEngine();
  ...
}


and i know that DAODBEngine has the method ...

pDaoState->m_pDAODBEngine->put_SystemDB(THIS_BSTR SystemDBPath);


Can i call this like it is to change the SystemDB ???
And i can't use this AfxGetDaoState() ... it's unknown ...

mhg cr97
GeneralRe: DAO Access and system.mdw Pin
Mike Ellison7-Apr-04 5:28
Mike Ellison7-Apr-04 5:28 
GeneralRe: DAO Access and system.mdw Pin
cr977-Apr-04 21:15
cr977-Apr-04 21:15 
GeneralMultiple table select queries in mySQL Pin
docdeath6-Apr-04 2:38
docdeath6-Apr-04 2:38 
QuestionHow to join on multiple records? Pin
matthias s.6-Apr-04 1:27
matthias s.6-Apr-04 1:27 
AnswerRe: How to join on multiple records? Pin
Mike Dimmick6-Apr-04 1:42
Mike Dimmick6-Apr-04 1:42 
GeneralRe: How to join on multiple records? Pin
matthias s.6-Apr-04 2:05
matthias s.6-Apr-04 2:05 
AnswerRe: How to join on multiple records? Pin
Hesham Amin6-Apr-04 1:49
Hesham Amin6-Apr-04 1:49 
GeneralRe: How to join on multiple records? Pin
matthias s.6-Apr-04 2:07
matthias s.6-Apr-04 2:07 
GeneralSQL Server Procedure Output Pin
SamAmman5-Apr-04 23:06
SamAmman5-Apr-04 23:06 
GeneralRe: SQL Server Procedure Output Pin
Mike Dimmick6-Apr-04 1:26
Mike Dimmick6-Apr-04 1:26 
GeneralFile space used in SQL2000 Pin
Hesham Amin5-Apr-04 1:34
Hesham Amin5-Apr-04 1:34 
GeneralRe: File space used in SQL2000 Pin
Mazdak5-Apr-04 21:20
Mazdak5-Apr-04 21:20 
GeneralRe: File space used in SQL2000 Pin
Hesham Amin5-Apr-04 22:12
Hesham Amin5-Apr-04 22:12 
GeneralRe: File space used in SQL2000 Pin
Mike Dimmick6-Apr-04 1:35
Mike Dimmick6-Apr-04 1:35 
GeneralReducing the size of the database files Pin
Colin Angus Mackay4-Apr-04 23:26
Colin Angus Mackay4-Apr-04 23:26 
GeneralRe: Reducing the size of the database files Pin
Mike Dimmick5-Apr-04 1:02
Mike Dimmick5-Apr-04 1:02 
GeneralRe: Reducing the size of the database files Pin
Colin Angus Mackay5-Apr-04 23:28
Colin Angus Mackay5-Apr-04 23:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.