|
|
|
|
|
| | |
|
Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Drop Down List to POST two fields to another page |
From: |
Rich |
Date: |
3/8/1999 10:49:47 PM |
IP: |
205.163.7.57 |
<!--Help! I'm new to ASP-->
I'm trying to create a computer configurator to allow an end user to select from multiple drop down lists. The drop down lists pulls data from an Access ODBC source. The table it pulls from contains the fields "description" and "retail". After selecting their options, I want the selections posted to another page showing a table with the headers "Description" and "Price".
I can get it to post the values (retail) to the next page, but I can't get it to post the description. I will also eventually need to add the values to calculate a total price for the configured system.
Here's some of the code:
<<<home.asp>>>
<!--This is the drop down list filled by ODBC data-->
<SELECT NAME="caselist" TABINDEX="0">
<%=(makeOptionFromRecordset(caserecdb, "description", "retail", caserecdb.GetColumnValue("description")))
%>
</SELECT>
<!--This is the form on response.asp-->
<TD BGCOLOR="#0080C0" WIDTH="95">
<FONT SIZE="-1" COLOR="#FFFFFF" FACE="arial">Case</FONT>
</TD>
<TD BGCOLOR="#000000" WIDTH="1"> </TD>
<TD WIDTH="250" BGCOLOR="#E9E9E9" NOWRAP="NOWRAP">
<FONT SIZE="-1" COLOR="#000000" FACE="arial">
<B>
<%= Request("caselist") %>
</B>
</FONT>
</TD>
<TD WIDTH="250" BGCOLOR="#E9E9E9" NOWRAP="NOWRAP">
<FONT SIZE="-1" COLOR="#000000" FACE="arial">
<B>
<%= Request("caselist") %>
</B>
</FONT>
</TD>
</TR>
<!--???HELP???-->
I know I am referencing <%= Request("caselist") %> on both coloumns of the table (which posts the same "retail" value in both columns), but I tried referencing other objects without success.
What am I doing wrong???
If you need any more specifics to help me, you can email request to richm@cts.com or post it here.
Thanks in advance for any assistance.
Regards,
Rich
|
|
|

|
|
|
|
|
|
|
|
|
|