ADO Recordsets in VC++
-
Is there a way of building an ADO Recordset from some data? I need to return a Recordset structure from a function but the data is not available trough a database so the ideea was to load the recordset and return it. I want to do this because for some user settings my application cannot read data from a database and building my own recordset beats going trough all the code and reading settings. I can simply change the method that does the querying.
-
Is there a way of building an ADO Recordset from some data? I need to return a Recordset structure from a function but the data is not available trough a database so the ideea was to load the recordset and return it. I want to do this because for some user settings my application cannot read data from a database and building my own recordset beats going trough all the code and reading settings. I can simply change the method that does the querying.
Hai friend, You have to return a recordset from a function. ur function _Recordsetptr mRs; mRs.CreateInstance(_uuidof(Recordset)); return mRs; Ok try it