>I had the following two properties set as follows:
>
>This.cWhereBase="PID=' '.Or.PID$This.cOpenNodes"
>This.cWhereUser=".T."
>
>The following code fails with an error message (Function argument value, type or count is invalid.):
>
>Scan While .T. for Evaluate(This.cWhereBase+".And."+This.cWhereUser)
>
>However if I change This.cWhereUser as follows everything works fine:
>
>This.cWhereUser="1=1"
>
>In the first case in the debugger evaluate(This.cWhereUser) returns at character type expression of '.T.' when I expected a logical value.
>
>Is this a bug or just the way the evaluate function works? It seems like it did not evaluate the ".T."
>
>Thanks
>Simon
Seems to work OK for me when I try it.