on 09-04-2008 9:23 AM
Hi all,
I have a problem about a payroll. I am trying to get the sub total in every page. My smartform is doing this but in a wrong way.
Consider that you have 2 pages of payroll. at the end of the first page it gives me the sub total but before it gives me sub total it also adds the first amount of the next page. the total isnt wrong it doesnt adds over and over the amount of the second page. so as result the total is right but the sub total isnt.
at first it looks like a clear problem but it isnt. I tried that ;-).
With regards,
Tulu.
Hi Tulu..
instead of using code lines....
just go to table controls calculations tab..
In operations Select Total...
Give field name and target field name...
will give correct total at the end of page..
..Regards
..Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dude,
I too faced the similar kind of a roblem but i dont remember exactly what i had done.
i would suggest you to use one variable and then add the values from your internal table in the loop.
This will surely help i think coz i remember doin this only.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The problem lies with the clearing of the subtotal variable...
clear the subtotal variable after displaying it.
create program lines after display subtotal using the text node and write the code
clear <sub_total>
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Under your text node..In the program lines write clear w_sum.
Regards,
Sravanthi
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 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.