Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid color
Message
From
09/11/2006 10:15:32
 
 
To
09/11/2006 10:13:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01168412
Message ID:
01168442
Views:
14
yourgrid.setall('sparse',.T.'column')
>No error message, but no any changr in thr grid color.
>>>Hi
>>>Why do I get the expression invalid error message?
>>>
cgship=substr(othernr.shipmentid,3,3)
>>>
>>>thisform.grdnrother.shipment.dynamicbackcolor= [IIF(alltrim(cgship)='G',rgb(255,0,0),RGB(255,255,255))]
>>
>>
>>because cgship is going out of scope. try:
>>
>>cgship=[ALLTRIM(substr(othernr.shipmentid,3,3))]
>>thisform.grdnrother.shipment.dynamicbackcolor= [IIF(]+cgship+[='G',rgb(255,0,0),RGB(255,255,255))]
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform