on 04-08-2009 4:51 PM
Using WDA, we're Currently, we're printing a project summary (1 page) pdf .
The users would like to be able to send in 1 - 10 project numbers and have the single output pdf display 1 page for each project they choose.
I think I have my Context set up properly:
PDF_CONTAINTER 1:1
PDF_TABLE 1:N
Several Item level tables & attributes
Where PDF_TABLE and its subnodes/attributes hold the project data.
I have defined my (only) Page as Positioned, Allow Page Breaks within Content, Repeat Subform for Each Data Item (min 1, no max), and have bound it using $record.PDF_TABLE.DATA[*]
However, when I run the program for 2 projects, I only get 1 page and the data is printing on top of each other.
So, this leads me to believe I am not populating my PDF_TABLE appropriately. How do I properly append an entirely NEW set of data to that PDF_TABLE context object?
thanks,
rp.
Try using conditional break at pagination settings of you subform.
E.g.
Language: FormCalc
RunAt: Server
Code: DATA[-1].{your field with project number} ne DATA.{your field with project number}
Break: Before
To: Top of Next Page
Regards,
Pjotr Perstnev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we solved this by dynamically creating multiple elements of our pdf node in WDA.
we loop through our data, increment the element count of our node - if it doesn't exist, we create a new one and bind our data.
works great.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
your body page must be flowed.
If you want every row of the table (project) on its own page, set the propertie Object->Pagination->Place of the row of the table to Top of Page "your master page".
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.