Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show rows in different colors
Message
From
05/09/2008 10:36:16
 
 
To
05/09/2008 08:55:58
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01345102
Message ID:
01345159
Views:
13
>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?

Jay I've done it the way Cathy suggested. It works best. As another option, for printing color based on a value in a field, look at the tblcompcolor report in the updated dbfcompare utility I posted here in the download section: download #1469
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform