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. Advertisements

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. =?Utf-8?B?THluZXJz?=

    Calculate row total with javascript

    =?Utf-8?B?THluZXJz?=, Aug 24, 2005, in forum: ASP .Net
    Replies:
    9
    Views:
    1,042
    =?Utf-8?B?THluZXJz?=
    Aug 24, 2005
  2. SAL

    #Region #End Region issue

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

    nested repeat region

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

    Force new page in printed repeat region

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

    Suming data within a nested repeat region

    Mangler, Feb 4, 2009, in forum: ASP General
    Replies:
    1
    Views:
    266
    Adrienne Boswell
    Feb 5, 2009
  6. rick
    Replies:
    4
    Views:
    253
  7. bin_P19 P
    Replies:
    0
    Views:
    271
    bin_P19 P
    Apr 21, 2004
  8. gp
    Replies:
    0
    Views:
    211
Loading...