r2 - 13 Mar 2008 - 09:31:13 - ZacSim?You are here: TWiki >  Main Web  >  ElixirReport > ElixirReportCookbook > AlternateColoursForDetailBand

Alternate Colour for Records in the Detail Band

This allows the data to be presented with alternate background colors per records. use the following scripts in the individual bands -

Report:On Render Begin -

var Count= 1;

Detail:On Render Begin -

if (Count%2==1)
{
    setBackgroundColor("rgb(255,153,153)");
}
else
{
    setBackgroundColor("rgb(122,191,237,77)");
}
Count++;

-- ZacSim? - 13 Mar 2008

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback