Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print different fields colour
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00632528
Message ID:
00632538
Views:
17
>Hi all,
>I want to print a field content in blue colour
>for positive amount and red colour for negative.
>How can I do it in the report designer?

You can create two fields on report, one blue another red, position them one over another and use Print When to print one of them based on the value.

>can I do it in the form designer?
* Textbox Refresh()
This.Backcolor = IIF( This.Value <0, RGB(255,0,0), RGB(0,255,0))
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform