Posted 23 January 2020, 1:07 am EST
Hi folks,
i have a groupheader in flexreport with 3 subsections.
I like to hide subsections 1 and 2 if grouppage() > 1 and have try to insert vbscript like this:
if grouppage() > 1 then
GroupHeader.subsection(1).visible = false
else
GroupHeader.subsection(1).visible = true
endif
I test this code on different events (onPage, onGroupHeader_print, onGroupHeaderFormat) but nothing works.
Thanks in advance for any idea to solve this.
Niels
p.s.
I wondering that code like ```
textfield.text = grouppage()