Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamicbackcolor problem
Message
 
To
10/06/2003 16:32:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00798603
Message ID:
00798626
Views:
18
Thanks again, I've found the error, it was the field name inside the empty() function. I was using the wrong field.



>>Can somebody tell me why this code doesn't work on VFP7? I have the same code on VFP6 and it works.
>>
>>
>>ThisForm.Fpage1.Page2.Fgrid1.Setall("DynamicBackColor","iif(Empty;
>>(Curopc.Objeto),RGB(0,255,0),RGB(255,255,255))","column")
>>
>>
>>It genates and DynamicBackColor evaluates to an invalid expression error.
>>
>>TIA,
>>
>>Enmanuel
>
>
>Enmanuel,
>
>Try this:
>
>>
>>ThisForm.Fpage1.Page2.Fgrid1.Setall("DynamicBackColor","iif(Empty" + ;
>>"(Curopc.Objeto),RGB(0,255,0),RGB(255,255,255))","column")
>>
>
>
>Hope this helps.
>
>Don
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform