|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please help as soon as possible
Hi,How can I get totals for selected data from Access database using ASP.I mean doing the calculation of totals.
|
|
#2
|
||||
|
||||
|
Why not just do a SUM or COUNT in the SQL statement?
|
|
#3
|
|||
|
|||
|
Do you mind sending me a piece of code examples on addition.I am a starter on ASP so I don't know anything.Maybe it would help if you can send me some kind of example because I'm running out of time.I have to submit this project by thursday.
please help. Thank you |
|
#4
|
||||
|
||||
|
|
|
#5
|
|||
|
|||
|
can I add the "where" clause to maybe for example have "select sum(columns) where id=personid?
|
|
#6
|
||||
|
||||
|
Yeah, no worries doing that
SELECT sum(column_to_get_total) FROM tablename WHERE id=personid |
|
#7
|
|||
|
|||
|
So then how do you output te result because there is no where I have totals column to call so I can set the result.
|
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Please help as soon as possible |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|