txgeekgirl1
Programmer
I have a variable Proccode. I need to search the string for letter combinations "GTGY" or "HK". Is there a lookup code for this in FP?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT *; && You missed semicolon here
FROM ENCCHG1_ ;
WHERE ProcCode LIKE '*GTGY*' ;
OR ProcCode LIKE '*HK*' ;
OR ProcCode LIKE '*UK*' ;
OR ProcCode LIKE '*HR*' ;
INTO CURSOR crsEncChg_
* Always name your cursors that way so you are sure you didn't close some "real" table