I have heard that other guys have the same problem. But I haven't heard a good soltuion....
I have a formular:
+-Data float Binding: GT.DATA[*] Repeat subform for each element Paginierung after: Go to nex page
+--- Positions float Binding: $.POS_TAB.DATA[*] Repeat suform for each element Paginierung OverflowHeaderArea: Header
+ Position float
Datas are coming throug the interface in a nested table
I hope it is the right english word.
It means a table in the table.
Header-Field1 / Header-Field2...... Positions
In Positions there is also a table:
Position-Field1 / Position-Field2.....
It works very fine. The values in my Header (e.g. Header-Field1) is correct. Also if in one group (header records) there is an page-break... The value is not empty it is the right one 🙂
And on each new header-record I have a new page - how I want.
But I have the problem, that becaus I sav in the header-sub-form "after: go to next page". I have a last page, wich is empty.
This is logical.
But is there a way to supress the last page, if it is empty.
Ore ist there a solution to supress every empty page.
I thought about to loop over the complete PDF and if there is a page wich is empty to erase it from the PDF-Tree?
I dont't know the right words...
I think this is a problem not only from me - i read in different places in the internet.
I think, there must be a solution with java-Script.
My problem ist that i can't realy scripting and I dont't understand really the XFA Structure (ist this the right word).
I am very happy if someone can mail me a universal solution, which I can use again and again - I had the problem once before a year ago, because I have solved it by means of ABAP programming. Which is not really good. If someone in the position does something to it, it may be that the height of my fixed position number no longer fits ...
If someone is expert and can help me - I am very happy, becaus I invested a lot time in this problem.
If you want you can also discuss and answer direktly with my also JSpranz@gmx.de
But I think the benefit for other user should be also documented in the adobe-forum wich should be the first adress vor searching for adobe themes 🙂
You can answer here in the forum and sent me a mail - than I can look here 🙂
I am not exactly sure what the issue is. I think you are saying that you have a blank page at the end of the document. If this is the case I have encountered that on an occasion. What I have found is that you have a page where the table is expanding beyond the page boundary. To fix it I moved the tables edge within the page and that solved the problem.