CRecordset Update Problem 
Author Message
 CRecordset Update Problem

In an application for updating a
SQL Server database we are using
the CRecordSet Update member function.
It is working fine mostly, but
sometimes throws an exception while
updating telling "Invalid Character
Specification" inspite of no change in
either the database or the data type.
If we change it to the ExecSQL member
function of CDatabase class it is
working fine. We have not changed
like this in all the places. Can anyone
let us know what could be the problem

Thanks & Regards,
Satish



Mon, 06 Jan 2003 03:00:00 GMT  
 CRecordset Update Problem

I think its good idea if you debug and look into values of recordset. Or
post your code here.

Mahesh

++++++++++++++++++++++++++++
Admin
www.mindcracker.com
A developer's web site
++++++++++++++++++++++++++++


Quote:
> In an application for updating a
> SQL Server database we are using
> the CRecordSet Update member function.
> It is working fine mostly, but
> sometimes throws an exception while
> updating telling "Invalid Character
> Specification" inspite of no change in
> either the database or the data type.
> If we change it to the ExecSQL member
> function of CDatabase class it is
> working fine. We have not changed
> like this in all the places. Can anyone
> let us know what could be the problem

> Thanks & Regards,
> Satish




Mon, 06 Jan 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. CRecordset::Update problem

2. CRecordset::Update - problem with NT4 Workstation

3. CRecordset - Update problem

4. CRecordset->Update(), But no Update

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

6. Problem updating multiple records in CRecordset using dynasets

7. 'Hard Problem' Update CRecordSet

8. Problem with ODBC update using CRecordset

9. Possible problem with CRecordset::UPdate()???

10. Problem with CRecordset and CTime when update

11. Problem with CTIme at CRecordSet update

12. CRecordSet, CByteArray updating database problems...

 

 
Powered by phpBB® Forum Software