Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternate row colors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
01128698
Message ID:
01128758
Vues:
28
This message has been marked as the solution to the initial question of the thread.
Here's what you do...

1. Add a report variable called rnInvCount, set the value to zero, set the Calculate option to SUM, set the Reset point to End of report.

2. In the OnExit Expression of the group footer band for the invoice, put the following:
_VFP.SetVar('rnInvCount', rnInvCount+1)
3. Use the logic of MOD(rnInvCount,2) = 0 (or the opposite) in your shading to determine whether to print the colored background.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform