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?
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?