Jason2
|
| Posted: 09/07/2004, 4:00 PM |
|
I´m trying to Calculate the Value or a Field, using this codes, but both of them displays duplicated values, like 2,000 instead of 1,000...... both are in the before show row of the grid, int the first I declare a Sum veriable, and this code:
Sum = Sum + (OVPM_OCRD.DocTotal.Value) + (OVPM_OCRD.Alt_DocTotal.Value)
OVPM_OCRD.GranTotal1.Value = Sum
in the second case, I used this approach:
OVPM_OCRD.GranTotal1.Value = OVPM_OCRD.GranTotal1.Value + (OVPM_OCRD.DocTotal.Value + OVPM_OCRD.Alt_DocTotal.Value)
both gave me the same result.......!
IIS, ASP, SQL (Grid with alternat record and Record Separator)
|
|
|
 |
Jason2
|
| Posted: 09/08/2004, 9:15 AM |
|
Why the silence? this doesnt have a solution? is this a bug? there´s something wrong in my code?
|
|
|
 |
|