Conditional Highlight When Dataset Record changes

I have a report that provides Employee Names and one or more lines of information in a group footer. I would like to conditionally format the lines in a manner similar to the "every other line" examples; however, I want to make the condition based on the change in the employee name like that shown in the attachment.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:46PM
    create a variable at start of code page myvarname
    set value to 1 when report starts(bottom of code page empty begin end block)
    add an empty memo in footer behind all others set stretch smmxheight
    in its conditional highlight expession myvarname mod 2 = 0
    in oap event of footer inc(myvarname);
  • edited 8:46PM
    Thanks - That highlights every other line, which i understood. I need to color a block of lines based on when the name of the person changes, as I have shown in the earlier attachment. I have the suppressed repeats in the report, so every line has an associated person's name.


  • gordkgordk St.Catherines On. Canada.
    edited 8:46PM
    you stated
    "I have a report that provides Employee Names and one or more lines of information in a group footer. "
    are you now saying the lines are not?
  • gpigpi
    edited 8:46PM
    See a demo report for FRDemo in the attach
  • edited 8:46PM
    Perfect.....thanks

Leave a Comment