Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing colors on the fly
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00568039
Message ID:
00568046
Views:
19
Hi Ashley,

If you open the report file as a dbf (use yourReport.frx), and browse it, you will see 6 fields that control the color - Penred,Penblue,Pengreen,Fillred...
At run time you can replace the values with your values, close the file, and then run the report.
The only problem is to identify the records for the objects you want to change colours. You can use the expr field if they are variable or fields, or coordinates if the coordinates are fixed.
It would be safer (especially if you are in a multi user setting), if you copy the frx/frt report files into some temporary files, and do the modifications on the temporary file.

I'm not sure now I understand what you want...
If you want the same field to be printed red, blue, etc. depending on some condition, then you can put two, or more objects overlaping each other, and use "print when" to select which one you print.
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform