Chuck,
The square brackets are string delimiters along with single and double quotes. I ususaly use the square brackets when I've to build a string where expression includes the single or double quotes because it makes code more readable. In this case you could use the single or double quotes as well w/o sacrificing readbility..
>Thanks very much for this solution. I have not ever used brackets inplace of quotes, I did not realize that was syntactcally (is that a word??) correct. I usually do it the wat Ian suggested. But I gave you the solution because you answered first and I gave Ian a star for help because his was the same but later. I really appreciate being a member of the UT. This help have saved me a lot of time. Thank you both.
>
>>You're using macro substitution anyway, why not build the whole FOR condition?
lcForCond = iif(empty(lcValue), [isdigit(allt(ctag))], [inlist(cTag,] + lcValue + [)] )
>>BROWSE FOR &lcForCond
>>
>>
--sb--