CRecordset and .Insert()
Posted on 2002-03-06
Hi, I am using CRecordset and OLE DB
I have created it using an MFC exe wizard
and have added ATL support
I have added an ATL consumer for the database, I have created it one time with CTable and one time with CCommand (and both are not doing what I want)
I can read from the DB, and I can write to existing records and update them, but I cannot add a new record.
I have added support for update, insert and delete.
So that is where I am at, I will be glad to include any code you like, everything seems to be working good, but the the HRESULT returned by CRecordset.Insert() always tests true for FAILED()
please help me!!!
ps, will gladly add more points for good "explaination"