CRecordset->Update(), But no Update 
Author Message
 CRecordset->Update(), But no Update

Hello:

I am doing something like this:

/*
    note that the exact names may not be correct, but hopefully you can
understand
    my intentions
*/

recordset->Open(......, CRecordset::noDirtyFieldCheck);
recordset->Edit();
recordset->m_data1 = "x";
SetDataDirty(&recordset->m_data1, TRUE);
recordset->Update();

no errors occur, but m_data1 is not updated.  i know that the record in the
database is updated because it has a timestamp field, and the data in the
timestamp field changes.

does anyone have any ideas about what i am missing here??  any directions
to which to look??  

I have stepped through the code, (mfc code) and there are no errors, the
only thing that seems strange is when the update sql is created, it uses
parameter markers and i cant tell if the actual parameter is ever sent????

tia

matt



Fri, 17 Dec 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. CRecordset::Update() fails while updating long values

2. Tools->Options->Directories settings - How to update automatically

3. SQL/VC++ Updates: Can't update recordset

4. Vicious Leak, Updated Update.

5. Slow update using CRecordset class

6. Why CRecordset can't update Excel spreadsheet - the answer

7. CRecordset: AddNew...Update

8. Can CRecordset update an Excel spreadsheet

9. EXCEL ODBC: Can CRecordSet Update spreadsheet?

10. CRecordset update not reflected in another process

11. CRecordSet in Bulk mode how to Add,Delete,Update

 

 
Powered by phpBB® Forum Software