Beti,
For setting the background color of the entire detail-band (all columns) with a single expression, go to the Properties of the Detail band: right-click on the band -> Properties -> Properties -> Color and place an expression such as:
If( Mod( GetRow(), 2 ) = 0, RGB( 255,255,255 ), RGB( 192,192,192 ))
However, the above is for display-only purposes and will not print as you see it.
For the text color of the columns, you could set the Color property of each column similar to the above by going to the Properties of the column. If you want to print alternating colors for each row, you will have to use a rectangle control, send it to back, set the background color of all the columns to Transparent, make the rectangle Visible: Properties -> Expressions -> Visible:
If( Mod( GetRow(), 2 ) = 0, 0, 1 )
---
PowerObject!
-----------------------------------------
PowerBuilder / PFC Developers' Group