Skip to main content Skip to footer

Applying Styles to FlexReport

Styling can easily be added to your FlexReport using a VBScript. The VBScript can be added to the Details.OnReport of your FlexReport where Subreports are added.

<OnFormat>
      cnt = cnt + 1

      if cnt mod 2 = 0 then
        Detail.BackColor = "DarkGray"
      else
        Detail.BackColor = "Transparent"
      endif
</OnFormat>