Calculate total in repeat region

Discussion in 'ASP General' started by Simon Gare, Jun 17, 2006.

  1. Simon Gare

    Simon Gare Guest

    Hi,

    I need to calculate a total based on fields in a repeat region, these values
    are stored in an SQL db, all are numeric and written in ASP.

    fields are

    TOTAL_COST VAT GRANDTOTAL (Page selects records based on
    field parameter and displays in a repeat region)


    At bottom of page need to show total sum like

    TOTAL_COST(sum of above)
    VAT(sum of above)
    GRANDTOTAL(sum of above)

    Thanks in advance
    Simon
    Simon Gare, Jun 17, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SAL

    #Region #End Region issue

    SAL, Aug 29, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    357
    Alexey Smirnov
    Aug 29, 2008
  2. shank

    nested repeat region

    shank, Dec 10, 2005, in forum: ASP General
    Replies:
    1
    Views:
    112
    shank
    Dec 10, 2005
  3. Simon Gare

    Force new page in printed repeat region

    Simon Gare, Jun 15, 2006, in forum: ASP General
    Replies:
    0
    Views:
    103
    Simon Gare
    Jun 15, 2006
  4. Mangler

    Suming data within a nested repeat region

    Mangler, Feb 4, 2009, in forum: ASP General
    Replies:
    1
    Views:
    154
    Adrienne Boswell
    Feb 5, 2009
  5. gp
    Replies:
    0
    Views:
    104
Loading...

Share This Page