on 08-26-2009 2:11 PM
H i all of you
I'm looking for a way to display multiple rows in a footer (which is repeated on every pages) based upon an internal table.
Have you ever try to do this ?
Brice
Configuration : ADS 8.1
Edited by: Brice VINCENT on Aug 26, 2009 5:17 PM
HI,
You can actually change the cell to a subform and then you can create multiple lines in footer. IF you add multiple footer rows then only 1 of them can be displayed on subsequent pages.
The subform u create can be flowed or positioned depending upon ur requirement ? What kind of data do u need to show in those multiple footer rows ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
do you want to display sum in multiple lines in footer or do u want to display entire table in footer ??? IF you dont have to display a table in footer then u can change the cell type of footer to subform and then create cells in that subform.
this code will give u the sum of fields on that page.
var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
var total = 0;
for (var i=0; i <= fields.length-1; i++) {
if (fields.item(i).name == "PRICE") {
total = total + fields.item(i).rawValue;
}
}
this.rawValue = total;
In fact i have to display to sum of different currencies.
For instance:
Body Part
-
EUR 10
USD 20
EUR 15
USD 12
-
Footer Part
-
EUR 25
USD 22
The problem is not to do the sum. the problem is to make the list of currencies in the footer repeated throughout each page.
And i get no currencies in the footer since the 2nd page.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.