Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding values

Status
Not open for further replies.

riffy

Programmer
Mar 29, 2001
106
US
hi,

i have a list of values which are the number of hours worked on a project in a month..
at the end of the list i need to add them up, it has to be a running count meaning that if w/i the month, only hours for 10 days were entered, then only that will be added up...
the page is an asp page so i wanted to do that with asp/vbscript..

what will be the easiest way to do it??
is there a function for it??

thanks
arif
 
I dont know anything about ASP so I dont know if this helps but VBScript supports Arrays. I personally would store the values in the arrays and get it to read the values at the end and if the stored Value in the array has the 10 hours then add it to the counter value. Do you need help with this?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top