I have data in the database with uppercase letters (user ID's) and with the below statement if there is a lowercase version of the user ID in the AndString I still get the user data. This should not happen in my case!
Code: Select all
put "SELECT "&FieldNames&" FROM "& TableName&" WHERE " & AndString & OrderByString into tSQL
put revDataFromQuery(,,DatabaseID,tSQL) into tRec
Code: Select all
put AndString &" AND " & tFieldname &" LIKE '" & DataArrayKeyFields[tFieldname] & "'" into AndString
I do not want to use the pragma command (if at all possible with revDataFromQuery ) because the pragma command is specific to SQLite and is very unlikely to be compatible with any other SQL database engine.
Any idea's?
Regards,
Paul