cancel
Showing results for 
Search instead for 
Did you mean: 

Add Totals to Second Last Page of Invoice (Smartform)

Former Member
0 Kudos

Hi all,

I have searched the forums but I cannot find an answer to this.

I have an smartform with a FIRST, NEXT and LAST page. The NEXT page can be called multiple times depending on how many pages the invoice is. The LAST page is the Terms and Conditions page. I would like the totals to appear on the Second - Last page. of the invoice, i.e. the page before the terms and conditions page.

In the Main of the NEXT page we have a command that will call the LAST page with the condition 'Only After End of Main'.

The Totals window (set up as a Secondary Window) on the NEXT page also has the condition 'Only After End of Main Window'.

The Terms and conditions page is outputting but the totals on the second last page are not. I can understand why this is happening but I don't know how to fix it.

Has anyone any ideas?

Thanks,

Elaine.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi all,

I found a solution.

I put in a code node at the end of my MAIN window to set a flag, and then used that as the condition by which I display my Total window. I also used that condition on the command node to jump to the LAST page at the end.

Thanks!