PDA

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


Zvonko
Aug 27th, 2000, 09:10 AM
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

JHausmann
Aug 28th, 2000, 12:41 PM
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.

Zvonko
Aug 28th, 2000, 12:49 PM
Nope.
I tried two times with the same values