J
JP SIngh
In one of our applications we have product id field which sometime contains
'
When doing a search the sql breaks due to this. I cannot use replace
function to remove this is there anything else I can do so that this works
strProductId = 2277'778
sqlstr = " Select * from productdetails where id ='" & strProductId & "'"
In this instance the sql breaks and gives me an error. Any suggestions how i
can solve this
Regards
'
When doing a search the sql breaks due to this. I cannot use replace
function to remove this is there anything else I can do so that this works
strProductId = 2277'778
sqlstr = " Select * from productdetails where id ='" & strProductId & "'"
In this instance the sql breaks and gives me an error. Any suggestions how i
can solve this
Regards