Hi all,
I have a problem displaying tables on last page that are on Master Page (as static objects). This tables shown below behave somewhat like a footer. ( it's a subtotal and a total based on some conditions ). And i want to print them only on the last page of the document.
The thing is that the tables shows only on the First page ( if i don't write the a condition in FormCalc ) or doesn't show at all ( with the condition ).
Do you know how i should solve my problem. Below I added the code and some images.
Form Calc - script to hide the subform until last page:
var curpage = $layout.page ( ref ( $ ) )
var totpages = $layout.pageCount()
if ( curpage ne totpages ) then
$.presence = "hidden"
else
$.presence = "visible"
endif
Images:
1) Adobe From
2) First Page - I removed the From Calc script so you can see the results
Termini di pagame and Codice IVA are tables too
3) Last Page
No tables displayed.
Thank you very much for any suggestion,
Alex