Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in grid
Message
 
 
To
28/01/2007 14:05:39
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01189922
Message ID:
01189930
Views:
9
>
>>
>>Alignment is not a string it is numeric:
>>
>>[iif(MyTable.nField = 1, 1, 0)] && No quotes around the 1 and 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--
Previous
Reply
Map
View

Click here to load this message in the networking platform