Click to See Complete Forum and Search --> : CRecordset Update() error


yarowave
September 15th, 2004, 11:26 PM
Dear Friends:

I'm kind of new to database programming. I have some problem
excuting Update() function. during the Update() process, I do have
error message "Invalid descriptor Index".

I can not figure it out what causes that error and how to solve it.
Please HELP!!!

Thanks

NigelQ
September 18th, 2004, 04:29 PM
Update completes either an AddNew or an Edit function.

Are you sure you called either AddNew or Edit before calling Update?

Hope this helps,

- Nigel

yarowave
September 19th, 2004, 12:13 PM
Dear NigelQ:

Thanks for your reponse.
I solved the problems. It was a wrong m_nFields property binded fields.
Again, Thanks for your reply...