Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternate row colors
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7
Miscellaneous
Thread ID:
01128698
Message ID:
01128768
Views:
20
Thanks Cathy! That is just what I was looking for! Works like a charm.

David

>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform