CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Calculated Value

Print topic Send  topic

Author Message
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?

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.