Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternate row colors
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Alternate row colors
Environment versions
Visual FoxPro:
VFP 7
Miscellaneous
Thread ID:
01128698
Message ID:
01128698
Views:
117
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!
Next
Reply
Map
View

Click here to load this message in the networking platform