Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing colors on the fly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00568039
Message ID:
00568046
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform