Results 1 to 3 of 3

Thread: Update error

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ilirska Bistrica, Slovenia
    Posts
    242

    Unhappy

    Hello!

    I use DataEnvironment in my project and I encountered one quite strange error while updating records through my command which has about 10 parameters (values to update).
    When I first tried to update my record it was successful, but when I tried to update it again, it returned an error. Why dit VB return error if the first update was successful? Is this a bug or what?

    Error : -2147217913 - Data type mismatch in criteria expression
    Zvonko Bostjancic
    Ilirska Bistrica, Slovenia
    [email protected]
    Using VS6 Professional with SP3
    Programming mostly in VB and I've started to learn VC++ & MFC

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    If I had to guess, you're either passing a null to a field that doesn't allow it or you're stuffing a character value in an integer field, the second time around.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ilirska Bistrica, Slovenia
    Posts
    242
    Nope.
    I tried two times with the same values
    Zvonko Bostjancic
    Ilirska Bistrica, Slovenia
    [email protected]
    Using VS6 Professional with SP3
    Programming mostly in VB and I've started to learn VC++ & MFC

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