>Hi there,
>
>the following lines work fine in the command window but not in code:
>
>select kartei
>set order to istda && Index on logical field
>set key to istda == .F.
>
you uses the SET FILTER syntax ( set an lExpression )
with SET KEY you define a key value, not an expression.
.....
set key to .F.
>Can anybody tell what is wrong with this.
>
>Thanks in Advance
>
>Thomas