Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print different fields colour
Message
From
17/03/2002 22:33:48
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00632528
Message ID:
00633959
Views:
14
Dear Samuel,

You should actually, place the iif statement at refresh event of the grid as:

this.setall("dynamicforecolor","iif(nAmount<0,;
rgb(128,128,0),rgb(255,255,255))","column")

while the grid refresh itself and provide the color you want when thegrid.refresh() or thisform.refresh() is triggered

Please note the color setting in VFP is normally by the RGB() function.

Regards,

Ransome
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform