>Hi everyone,
>
>Is there a way to make the VFP7 report writer create the details section of the report in alternating colors (candy stripe) per record?
>
Hi Costas,
- Add a rectangle object to the detail band and adjust it size to the size of the detail band.
- Make it borderless: Format -> Pen -> None.
- Send it to the back: CTRL-J.
- Change it's backcolor to gray.
- Put expression "(recno()%2)=0" into Print When of the object.
It would work only if source of the cursor is a table/cursor in physical order w/o deleted records. To make it work with any source you'll have to create Report Variable to count records and use it in the Print When expression instead of RECNO().
--sb--