ASP Help needed

ASP Help needed

am 12.05.2005 16:51:25 von Kaushik Mandal

Hi Guys

I need some help with the ASP application . I need to make a Grand total
based on dates . I have sub totals for dates and need to do the Grand
total by same dates . Here is a little example

Date Sub Total Grand Total

4/25/2005 $23

4/25/2005 $56
---------

I need to make a grand total . How do I do it in ASP ?

Thanks

*** Sent via Developersdex http://www.developersdex.com ***

Re: ASP Help needed

am 12.05.2005 16:57:16 von exjxw.hannivoort

Kaushik Mandal wrote on 12 mei 2005 in microsoft.public.inetserver.asp.db:

> I need some help with the ASP application . I need to make a Grand total
> based on dates . I have sub totals for dates and need to do the Grand
> total by same dates . Here is a little example
>
> Date Sub Total Grand Total
>
> 4/25/2005 $23
>
> 4/25/2005 $56
> ---------
>
> I need to make a grand total . How do I do it in ASP ?
>

<%
response.write "$ " & (23+56)
%>

I suppose this is not the answer you expect, but then you would give us an
example of your code. Are you talking about databases? If so include the
type.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Re: ASP Help needed

am 12.05.2005 17:15:18 von Kaushik Mandal

Hi

Thanks for your quick reply . I think the ASP example I gave before is
little confusing . Here is the modified example

Date Sub Total Grand Total

04/25/2005 $34

0425/2005 $89

04/25/2005 $78 --------

04/26/2005 $34

04/26/2005 $56
------
04/27/2005 $23

04/27/2005 $90
--------

What I would like to know is that how to make Grand total by dates .
Grand totals for 04/25 ,04/26, 04/27 using ASP . I need to do it on the
ASP page .

I am using MS SQL server 2000 as database

Thanks



*** Sent via Developersdex http://www.developersdex.com ***

Re: ASP Help needed

am 12.05.2005 17:39:52 von exjxw.hannivoort

Kaushik Mandal wrote on 12 mei 2005 in microsoft.public.inetserver.asp.db:
> Thanks for your quick reply . I think the ASP example I gave before is
> little confusing . Here is the modified example
>
> Date Sub Total Grand Total
>
> 04/25/2005 $34

No this does not help.

First:
always quote an essential part of the posting you are answering on.
This is not an email helpdesk but usenet.

Second:
Show us your code, as I asked before.
Your output example is not an ASP example.
Please answer also my other questions, like if you are talking about
databases.


--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Re: ASP Help needed

am 13.05.2005 04:58:20 von Roland Hall

"Evertjan." wrote in message news:Xns9654B3B148ABBeejj99@194.109.133.29...
: Please answer also my other questions, like if you are talking about
: databases.

I think this part has been answered:
"I am using MS SQL server 2000 as database "

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp