NewDBConnection
Syntax:
BOOL NewDBConnection ();
Return
Value: TRUE if the Connection pane of ELS-QB control is enabled and FALSE otherwise.
Remarks:
This
method calls the NEW DB Connection
window from ELS-QB component, so that the user may create a new database
connection in the Databases folder
at run-time.
Example:
This
sample code shows how to invoke NEW DB Connection
window that if OKeyed will create a new database connection and make it
currently active database connection upon creation.
void
CELS_QBDemoView::OnFileNewDBConnection()
{
// This will
invoke NEW DB Connection window
allowing
// new database
connection creation at runtime
m_QBCtrl.NewDBConnection();
}