Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21251

[RESOLVED] update sql not executing part 2

$
0
0
I have this record in msflexgrid which is the basis for updating the database.

I am not sure why I am getting error TYPE MISMATCH.

What could be making that type mismatch error that unable me to update the record?

UPDATE: I noticed that the update query worked but only on the first row but error type mismatch on the start of the second row.
The first and second row has the same information except for the itemid.

2nd UPDATE: Ok I found out that the update query executes properly and the trigger the makes that type mismatch error is when I disconnect the connection after all the loop. But why did it makes an error while I believe it is just right to close the connection after using it, right?

Viewing all articles
Browse latest Browse all 21251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>