Sergey & Brad
You both were right, in building the lcValue string I did not have a single quote at the front or back. The below example shows the 2 extra quotes at both ends, that was it.
Thanks for the brain jolt, its terrible getting old.
>It should work. Most likely you've incorrect value for lcValues.
>
>>I am trying to do a "brow for inlist(field,&lcValue)"
>>I get "Function argument value, type, or count invalid"
>>when I type in the values it works, I don't get it.
>>
>>
>>>>Does anyone know why a variable cannot be used with Inlist(fieldname,lcValues)? Where lcValues = '"DEP 17052","DEP 0944","05232"'.
>>>
>>>You've to use micro substitution in this case
Inlist(fieldname, &lcValues)
Extreme Programming = Plan -> Design -> Code -> Test