>
>>
>>Alignment is not a string it is numeric:
>>
>>[iif(MyTable.nField = 1, 1, 0)]
>>
>
>but it is in vfp help
>
>Column.DynamicAlignment[ = cAlign]
>Property Values
>cAlign
>Specifies a character string expression that is re-evaluated at run time and results in one of the following values:
That's exactly what Borislav suggested. The
[iif(MyTable.nField = 1, 1, 0)] is character expression assigned to DynamicAlignment property. However result of evaluation of that expression has to be/is numeric.
--sb--