on 10-27-2008 11:20 AM
Hi all,
In Adobe form not interactive, I want printing an customer invoice with an array for item, it is OK
But I want printing a subtotal by page and I want report this subtotal on next page
I have defined a 'rangée de pied de page and I use function"sum(Section.Rangee0[*].NETWR)" in subtotal area, but I have total of all item amount
Whitch I must use for resolve this problem
Thanks
Hi,
Try with below sample code, it helps for your requirement
Below code for sub totals in adobe forms
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;
Below code totals in adobe forms
sum(Data.Table1.Group1.Row1[].PRICE[])
Thanks
Ramakrishna Pathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.