Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show rows in different colors
Message
De
05/09/2008 09:09:28
 
 
À
05/09/2008 09:08:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01345102
Message ID:
01345115
Vues:
14
>Hi Jay,
>
>Simply put something like this in your Form.Init
>
>
>Thisform.Grid1.SetAll ([DynamicBackColor], [IIF(MOD(RECNO(),2) = 0, RGB(128,128,128), RGB(255,255,255))], [Column])
>

>>What's that little trick using the recno() and MOD (I think) to do something to every other row in a report? How would I apply that to changing the colors of the background box? Would I need to have two boxes and use the Print When for each?

Jey wants to change colors in Report, not the the grid :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform