<< Return to Main Index

< Return to Class Index

CGXDynamicRecordset::CGXDynamicRecordset

CGXDynamicRecordset(CDatabase* pDatabase = NULL);

pDatabase

Contains a pointer to a CDatabase object or the value NULL. If not NULL and the CDatabase object's Open member function has not been called to connect it to the data source, the recordset attempts to open it for you during its own Open call. If you pass NULL, a CDatabase object is constructed and connected for you using the data source information you specified by SetConnectString.

Remarks

Constructs a CGXDynamicRecordset object. You need to specify the SQL-Select-Statement with SetSqlQuery before you call Open.

See Also

CGXDynamicRecordset::SetSqlQuery

CGXDynamicRecordset

Class Overview | Class Members