can any member of the ranch tell me what is happening cause am loss , i can think of anything again thanks in advance
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
0
The code doesn't actually use any of the parameters you're passing to it - it's passing along string literals. Instead of
... values('bankType',chequeNum, ...
you need something like
... values('"+bankType+"', "+chequeNum+", ...
It would be much better use PreparedStatement for this - that way you avoid the string concatenation, and also don't need to worry about quotes around string arguments.