Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show rows in different colors
Message
 
To
05/09/2008 09:08:05
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:
01345115
Views:
13
>Hi Jay,
>
>Simply put something like this in your Form.Init
>
>
>Thisform.Grid1.SetAll ([DynamicBackColor], [IIF(MOD(RECNO(),2) = 0, RGB(128,128,128), RGB(255,255,255))], [Column])
>

>>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?

Jey wants to change colors in Report, not the the grid :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform