>My String wList = "'A','B','C','T'"
>
>My code string IF NOT INLIST(SUBSTR(getRecordQuery.ordno,3,1),wList) Then ... EndIf
>
>This Inlist call does not seem to use the wList String.
It uses wList as one value not a list. Use macro substitution
IF NOT INLIST(SUBSTR(getRecordQuery.ordno,3,1),&wList)
--sb--