Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternate row colors
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Alternate row colors
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
01128698
Message ID:
01128698
Vues:
120
I currently use alternate row colors in most of my reports. To do this I use Print When: recno()/2=int(recno()/2).

This works great for many reports. However, I am setting up a report which uses a single table containing header and detail records (invoice with charges). The report likewise has a header band (Invoice) and detail band (charge). What I want to do is alternate the colors for each invoice, so that the 1st invoice (with all charges) has no background color, but the next invoice (with all charges) has an alternate color.

The above Print When logic will not work for this. I have a feeling I am missing something terribly obvious (again!). Any suggestions?

Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform