Posted 4 August 2017, 2:32 pm EST<font size="2">Hi,
I'm working on a invoice report where i have some inventory groups that i want to show inn the footer of the report. How can I do this? I've tried to use global variables, but since this list will change for every page, it didn't work as planned.
Lets say the first invoice is going to contain I-Group1 to I-Group3. The next invoice I-Group2.
The first page is ok and shows groups as it should, but next page show group2, but i also shows the groups from last page. I've tried to clear the variables in "onPageEnd" but didn't help.
If i only make the report to show one invoice it works, but that is not very effective when 100 invoices is printed.
Does someone know how to do this?
PS! Working in a end user program, i only have access to script editing.