a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Running Sum in DRW

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Running Sum in DRW
Page: [1]
 
Joey

 

Posts: 172
Joined: 5/15/2002
From:
Status: offline

 
Running Sum in DRW - 6/16/2007 8:48:46   
I've done this before but cannot remember how I did it. Does anyone know how to give a running sum of a numeric value in a DRW?
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Running Sum in DRW - 6/16/2007 21:34:47   
I generally set a vatiable to 0 before the DRW:

myRunningTotal = 0

Then add the DWR field *inside* the DRW.

myRunningTotal = myRunningTotal + fp_FieldVal("myNumberField")

Then display it after the DRW:

<%=myRunning Total%>

Something like that?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to Joey)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> ASP and Database >> Running Sum in DRW
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts