2007 Dec 28 6:50 AM
In my table control 10 line item are there
like below.
Product---- Price
A----
10
B----
10
C------- 10
D------- 10
E----
10
and at last i have take Txt box for total sum
Total = 50.
its comming right,
My problem is when i scroll down vertical bar
then its Total become 40 or 30 and when i scroll Up then
its showing Correct value..
i want total should be fix. how to solve it.
2007 Dec 28 7:26 AM
Hi Monica
The problem is in you flow logic i think you are looping from <table control>-TOP_LINE. So when you scroll down, it won't consider the line which is not visible for your calc. I think a better option should be first you loop at your records from the internal table and calculate the sum and then use that value for final sum display.
~ Ranganath
In my table control 10 line item are there
like below.
Product---- Price
A----
10
B----
10
C------- 10
D------- 10
E----
10
and at last i have take Txt box for total sum
Total = 50.
its comming right,
My problem is when i scroll down vertical bar
then its Total become 40 or 30 and when i scroll Up then
its showing Correct value..
i want total should be fix. how to solve it.
2007 Dec 28 7:26 AM
Hi Monica
The problem is in you flow logic i think you are looping from <table control>-TOP_LINE. So when you scroll down, it won't consider the line which is not visible for your calc. I think a better option should be first you loop at your records from the internal table and calculate the sum and then use that value for final sum display.
~ Ranganath
2007 Dec 31 5:47 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |