Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Is this possible in ASP?

Reply
Thread Tools

Is this possible in ASP?

 
 
Jack
Guest
Posts: n/a
 
      12-10-2004
Hi,
I have a detail asp form where the user inputs as following:

expenseid expense type of expense
comment
............... ............ .......................
...............
.............. ............ .......................
...............


TotalExpense ...........

The above total expense needs to be transferred to a summary form.
I believe this can be done by server side coding. Any advise as how to
transfer the TotalExpense value to the summary page? Thanks
 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      12-11-2004
Gazing into my crystal ball I observed "=?Utf-8?B?SmFjaw==?="
<(E-Mail Removed)> writing in
news:(E-Mail Removed):

> Hi,
> I have a detail asp form where the user inputs as following:
>
> expenseid expense type of expense
> comment
> .............. ............
> .......................
> ...............
> ............. ............
> .......................
> ...............
>
>
> TotalExpense ...........
>
> The above total expense needs to be transferred to a summary form.
> I believe this can be done by server side coding. Any advise as how to
> transfer the TotalExpense value to the summary page? Thanks
>


Is there more than one row in each column? If so I suggest,

<input type="text" name="expenseid" id="expenseid1">
<input type="text" name="expense" id="expense1">
<input type="text" name="expensetype" id="expensetype1">
<input type="text" name="comment" id="comment1">

You're going to get back something like:
expenseid = 1, 2, 3
expense = 200, 500, 50
expensetype = car, rent, food
comment = good, bad, indiffernet

Then you can get the values doing a split on each.

for each value in split(expense,", ")
total = total + cdbl(value)
next



--
Adrienne Boswell
Please respond to the Group so others can share
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
efficient data loading with Python, is that possible possible? igor.tatarinov@gmail.com Python 10 12-14-2007 04:44 PM
is it possible to possible to create an iterator from a callback interace? aninnymouse@gmail.com C Programming 4 02-21-2006 02:10 PM
XML + XSD: Is it possible to get all possible Values for an Element? Markus Java 1 11-22-2005 02:51 PM
Possible to connect 2 computers via USB? Michael Giroux Wireless Networking 2 09-02-2004 03:27 AM
Possible domain related wireless problem =?Utf-8?B?QWxpIEQ=?= Wireless Networking 0 08-10-2004 01:59 AM



Advertisments