Doesn't work, I tried and get a syntax error. Remember, using 6.0sp5, I hope that's not the issue.
>Try:
Inlist (fieldname, &lcValues)
HTH
>
>>Does anyone know why a variable cannot be used with Inlist(fieldname,lcValues)? Where lcValues = '"DEP 17052","DEP 0944","05232"'.
Extreme Programming = Plan -> Design -> Code -> Test