Is there any way to have the asp page calulate the sum of a field like you do in VB? Example in vb you would
=sum([paid]) but in asp
<%= FormatCurrency(rs("Paid")) %>
how do you get asp to calulate correct?
Or perhaps update cumulative variables after each row in a report. Then at the end of the report show these variables as the totals. The same concept can also be used for group totals by setting the cumulative variables back to 0 after each group. Example: InvSubtotalCum = InvSubtotalCum + InvSubtotal
Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.