on 11-22-2007 12:48 PM
How to make PDF form print multiple times depending on the amount of lines in the interface table?
For example, as Import we get the table with 5 lines (positions of a document). So we need to print same pdf forms 5 times (data printed will be changing according to the positions data)
how to make it?
help please!!!
Hi Julia,
The Parent Subform should contain only the header part (i.e Column Headers). i.e. all the Static Contents
and the actual repeating data should be inside ur Child Subform. Since u have set the Subform as Repeat Sunform Property in the Child Subform that automatically adds rows dynamically in the form.
Follow the Hierarchy :-
--> Top Most Subform (Type - Flow Layout, Flow Direction - Western Text)
-
> All the Table Headers
-
> Parent Subform (Type - Flow Layout, Flow Direction - Table, Allow Page Breaks within Content (checked))
-
> Child Subform (Type - Flow Layout, Flow Direction - Table Row, repeat Subform for each data item (checked), Minimum Count - 1)
-
> All the Table Row Elements.
Hope u are clear with this now,
Regards,
Poojith MV <b></b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julia,
The Parent Subform should contain only the header part (i.e Column Headers). i.e. all the Static Contents
and the actual repeating data should be inside ur Child Subform. Since u have set the Subform as Repeat Sunform Property in the Child Subform that automatically adds rows dynamically in the form.
Follow the Hierarchy :-
--> <b>Top Most Subform (Type - Flow Layout, Flow Direction - Western Text)</b>
-- All the Table Headers
-- <b>Parent Subform (Type - Flow Layout, Flow Direction - Table, Allow Page Breaks within Content (checked))</b>
-- <b>Child Subform (Type - Flow Layout, Flow Direction - Table Row, repeat Subform for each data item (checked), Minimum Count - 1)</b>
-- All the Table Row Elements.
Hope u are clear with this now,
Regards,
Poojith MV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much.
It works now, but there's one small problem. I cant get rid of the last blank page, which appears after all the data has been printed out.
In the Adobe version i use there's no attribute "TYPE" for Subform. So I set "Go to next page" in the attribute "AFTER". And i did everything u said as well.
Evrything is printed correctly but i get the blank(empty) page in the end.
How can i solve it?
i really appreciate your help.
I have another question then.
Should both of these subforms(parent and child) be the same (with the same content)??
I dont understand how it will work. what should be in the parent subform?
If i get the import table with a few items. and according to items content i should fill out the form content.
what exactly should i do?
i'd really appreciate your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julia,
When u create a PDF form in the Form Designer create 2 subforms (Parent and a Child Subform).
Make the Parent Subform's <b>Layout</b> as <b>Flow Content</b> and the <b>Flow Direction</b> as <b>Table</b>. Also check the box for <b>Allow Page break within contents (which u will find in Palettes->Object)</b>.
Make the Child Subform's <b>Layout</b> as <b>Flow Content</b> and the <b>Flow Direction</b> as <b>Table Row</b>. check the box for <b>Allow Page break within contents (which u will find in Palettes->Object)</b> and in the Binding Tab check the box for <b>Repeat Subform for each data item</b> and set the <b>minimum count to 1</b>.
Hope this helps u.
Regards
Poojith MV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have another question then.
Should both of these subforms(parent and child) be the same (with the same content)??
I dont understand how it will work. what should be in the parent subform?
If i get the import table with a few items. and according to items content i should fill out the form content.
what exactly should i do?
i'd really appreciate your help.
You can do this in Javascript
In the PDF DOM there is a Document object which has a print method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.