T.I.L. - To change the height of a report group footer

I want to conditionally display additional content in the group footer of a report.

Sure thing, no problem this should work:

ThisWindow.OpenReport PROCEDURE
ReturnValue          BYTE,AUTO
  CODE
  ReturnValue = PARENT.OpenReport()
  IF ReturnValue = Level:Benign
    SELF.Report$?GroupFooter{PROP:Height} = 650
  END
  RETURN ReturnValue

But nooooo… that would be far too easy.

Instead, you must first hide all the controls that have PROP:YPos > 650

  IF ReturnValue = Level:Benign
    SELF.Report$?MyControlsGroupWrapper{PROP:Hide} = TRUE
    SELF.Report$?GroupFooter{PROP:Height} = 650
  END

YAY! :confetti_ball:

Only took me two hours. Ask me if I like reports… :laughing:

2 Likes