set caseSensitive to true
Posted: Sat Jan 17, 2015 2:51 pm
on getPoint
global gConnectionID, gPoint, gUser
set the caseSensitive to true
if field id 1098 is empty then
answer "Please enter code first."
exit getPoint
else
put field id 1098 into tCodes
end if
put "codes" into tTableCodes
put "share" into tTableName
put "SELECT Points FROM "&tTableCodes&" WHERE Codes= '" & tCodes & "'" into tSQL
put revDataFromQuery(tab, cr, gConnectionID, tSQL) into tData
if item 1 of tData = "revdberr" then
answer error "check internet connection"
exit to top
else
if tData = "0" then
answer "Used Code"
exit getPoint
else
if item 1 of tData is field id 1098 then
Add tData to gPoint
else
answer "Check Code"
exit getPoint
end if
end if
end if
Hello All,
I have an issue with setting case sensitive of alphanumeric sequence from database. I would appreciate your kind help as i have included the script, so as to show if its my misstake or just not possible with alphanumeric sequence.
Regards
mcbroh
global gConnectionID, gPoint, gUser
set the caseSensitive to true
if field id 1098 is empty then
answer "Please enter code first."
exit getPoint
else
put field id 1098 into tCodes
end if
put "codes" into tTableCodes
put "share" into tTableName
put "SELECT Points FROM "&tTableCodes&" WHERE Codes= '" & tCodes & "'" into tSQL
put revDataFromQuery(tab, cr, gConnectionID, tSQL) into tData
if item 1 of tData = "revdberr" then
answer error "check internet connection"
exit to top
else
if tData = "0" then
answer "Used Code"
exit getPoint
else
if item 1 of tData is field id 1098 then
Add tData to gPoint
else
answer "Check Code"
exit getPoint
end if
end if
end if
Hello All,
I have an issue with setting case sensitive of alphanumeric sequence from database. I would appreciate your kind help as i have included the script, so as to show if its my misstake or just not possible with alphanumeric sequence.
Regards
mcbroh