>>>
>>>VFP7 Column object has DynamicAlignment property. can this run in anyway?
>>
>>Try them. I think both must work, but with DynamicAlignment it is much easier.
>
>i try DynamicAlignment but not work ? why
>
>
>Thisform.Grid1.Column1.DynamicAlignment = [iif(MyTable.nField = 1, "1", "0")]
>
Alignment is not a string it is numeric:
[iif(MyTable.nField = 1, 1, 0)]
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.