Hi Naeem,
I too have had issues with using a ? in a string.
The problem is that a ? is a special lianja character for displaying items in the console.
I don't believe my issue was ever fully resolved although you could try to a substitution, as recommended by Lianja staff for a similar issue.
Code:
// ** This is untested **
strSQL = "insert into ctemp (cDesc) values ('hello testing a question mark in a string value like ? and get error')"
strSQL = str_replace("?", '"' + chr(63) + '"', strSQL)
SQLEXEC(lnconn,"&strSQL")
Cory
Bookmarks