LittlePerson
asked on
CRecordset functions
Hi
I have a CRecordset derived class which I have added a new method too, to enable
records to be added in my own custom way.
When I try and call
if(!Open()) // Open the Project recordset
return FALSE;
if(!CanAppend()) // check we can add to the recordset object
return FALSE;
I get an exception. It seems that MFC doesn;t like these methods to be called from
within the derived CRecordset class.
Does anyone know any different, or a way of calling these functions from within
the dervived class??
Thanks in advance
LittlePerson
I have a CRecordset derived class which I have added a new method too, to enable
records to be added in my own custom way.
When I try and call
if(!Open()) // Open the Project recordset
return FALSE;
if(!CanAppend()) // check we can add to the recordset object
return FALSE;
I get an exception. It seems that MFC doesn;t like these methods to be called from
within the derived CRecordset class.
Does anyone know any different, or a way of calling these functions from within
the dervived class??
Thanks in advance
LittlePerson
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you simply pass control back to the base class ::Open() and ::CanAppend()?