Tuesday, July 1, 2008

Stripe Color in Datawindow


in datawindow properties > general.color

if (mod (getrow(), 2) = 0, RGB(192,192,192), RGB(255, 255, 255))

or

put a coloured rectangle in datawindow band and send it to back, in visible properties of the rectangle put this code :

if (mod (getrow(), 2) = 0, 1, 0)

No comments: