Forums
This topic is locked
PASSING VALUES ....
08 Jan 2003 16:17:05 Andy G posted:
Hi,I am dealing with some problems about passing the correct values from a drop down list to a detail page.
My first page is a "selection page" , there, I use a drop down list with data from a acces datasbase.(a prodID list of products). Since the colomn of my prod ID list contains 6 several types of prod.ID's, I filter them out - so I have the items I need for that particul. combo box.
So far no problem.
But the problem is that I don't how to get to a detail page.
There I have several cells with prodname,prod description, ProdImage,ProfPDF.
What can I do to let my combox-page pass the info I need for the detailpage?
I use the GET method for my list, also made a link in the prop. window of my detail page.
Can I use the go to detail page?
Wich serverbehavior etc. should I use to let it work?
thx !
Replies
Replied 08 Jan 2003 20:34:00
08 Jan 2003 20:34:00 asp asp replied:
OK! well in the 1st page you want to set a session, the = the name of your Field/
<!-- My field name-->
<% Session("svUsername"
= Request.Form("FieldName"
%>
then on the other page! retrive the name by requestion that session like this,
<%= Session("svUsername"
%>
this will grab the info from the field and put it on your page!!
<!-- My field name-->
<% Session("svUsername"


then on the other page! retrive the name by requestion that session like this,
<%= Session("svUsername"

this will grab the info from the field and put it on your page!!
Replied 08 Jan 2003 22:07:54
08 Jan 2003 22:07:54 Andy G replied:
Replied 08 Jan 2003 22:25:33
08 Jan 2003 22:25:33 asp asp replied:
actually in the 1st page put it right under the top line of your page like bellow,
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<% Session("svUsername"
= Request.Form("FieldName"
%>
in the second page you need to call this session put <%= Session("svUsername"
%> after </body> tag. thats is!!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<% Session("svUsername"


in the second page you need to call this session put <%= Session("svUsername"
