on 06-30-2008 8:46 AM
Hi Experts,
I am new to PDF forms.
I want to print the total Value at the end of the Page and on the last page only. How to achieve this using PDF forms?
Is there any way by which we can give conditions (IF condition) on a perticular field in SFP?
Please advice.
Regards,
Sumedha
Thanks Andrie,
Can you please tell me how to Enable the Javascript or FormCalc?
Regards,
Sumedha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
You'll need to make some javascript or formcacl calculatiouns to complete this task. Here is the example code.
var i = 0
var p = $layout.page(ref($))
var d = 0
for i = 0 upto (page2.Table.Table2.BodyRow.all.length - 1) step 1 do
d = $layout.page(ref(page2.Table.Table2.BodyRow<i>.POSNUM))
if ( d == p ) then
page2.Table.Table2.PageTotal.PLACES = page2.Table.Table2.PageTotal.PLACES + page2.Table.Table2.BodyRow<i>.PLACES
page2.Table.Table2.PageTotal.BRGEW = page2.Table.Table2.PageTotal.BRGEW + page2.Table.Table2.BodyRow<i>.BRGEW
page2.Table.Table2.PageTotal.NETWR = page2.Table.Table2.PageTotal.NETWR + page2.Table.Table2.BodyRow<i>.NETWR
page2.Table.Table2.PageTotal.VAT = page2.Table.Table2.PageTotal.VAT + page2.Table.Table2.BodyRow<i>.VAT
page2.Table.Table2.PageTotal.WRBTR = page2.Table.Table2.PageTotal.WRBTR + page2.Table.Table2.BodyRow<i>.WRBTR
elseif ( d > p ) then
break
endif
endfor
Hope it will help You.
Good Luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.