1. Neil Prichard
  2. InfoMaker
  3. Tuesday, 17 November 2020 22:26 PM UTC

Hi all, 

i was wondering if any one know if its possible to  have alternating color on a background object on the group level of an infomaker report? 

I am currently using the below code for the detail section 

If(mod(getrow(),2 )=1, rgb(255, 255, 255 ), rgb(240,

240, 240 ))  

 

Thanks

Neil 

Accepted Answer
René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 18 November 2020 07:04 AM UTC
  2. InfoMaker
  3. # Permalink
Comment
  1. Neil Prichard
  2. Wednesday, 18 November 2020 15:34 PM UTC
works a treat, thanks !
  1. Helpful
There are no comments made yet.
Neil Prichard Accepted Answer Pending Moderation
  1. Wednesday, 18 November 2020 15:34 PM UTC
  2. InfoMaker
  3. # 1
  1. Create a computed field in the dw detail row & call it tone: code:
    if(getrow() = first( getrow() for group 1), 1, 0)
  2. Create a computed field in the trailer call it ttot. Code
    cumulativeSum( tone for all )
  3. in the detail row property code:
    if(mod(ttot,2) = 0, 255, 0) //use your own colors
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.