CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    6

    Unhappy CRecordset Update() error

    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

  2. #2
    Join Date
    Sep 2001
    Location
    San Diego
    Posts
    2,147

    Re: CRecordset Update() error

    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

  3. #3
    Join Date
    Sep 2004
    Posts
    6

    Re: CRecordset Update() error

    Dear NigelQ:

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured