Hi All,
I am stuck on this one. If this were Access I would have no problems. I divided this into three pages. First page takes the information the date of the meals and the filter. Second page has the following code. The idea is to choose the radio button of the meal choice for each user. The only problem is when I try to request the information from the second page to the third. On the third page, I can't use
or can I using a response.write?
I thought about storing the values in an array then passing them to the third page. Not sure how to pass an array from one ASP page to another.
Any help would be greatly appreciated.
Thanks in advance,
Al
I am stuck on this one. If this were Access I would have no problems. I divided this into three pages. First page takes the information the date of the meals and the filter. Second page has the following code. The idea is to choose the radio button of the meal choice for each user. The only problem is when I try to request the information from the second page to the third. On the third page, I can't use
Code:
RS("Mealchoice")=request("mvalue & mcount")
I thought about storing the values in an array then passing them to the third page. Not sure how to pass an array from one ASP page to another.
Code:
Response.write "<form method='post' action='GroupAccessConfirm.asp'>"
MChoice1="Ham"
MChoice2="Turkey"
choice = Request("Mealrequested")
mcount = 0
Do While (Not RS.EoF) %>
<%CurrMealCard = Rs("MealCard")%>
<input type="text" readonly="READONLY" name="FirstName" size="15" maxlength="20" value="<%=Rs("FirstName")%>">
<input type="text" readonly="READONLY" name="LastName" size="15" maxlength="20" value="<%=Rs("LastName")%>">
<input type="text" readonly="READONLY" name="RateRank" size="6" maxlength="10" value="<%=Rs("RateRank")%>">
<input type="hidden" readonly="READONLY" name="Command" size="10" maxlength="20" value="<%=Rs("Command")%>">
<input type="text" readonly="READONLY" name="CurrMealCard" size="10" maxlength="20" value="<%=CurrMealCard%>">
<%
mcount = mcount + 1
response.write "None:<input type='radio' name='Mvalue" & mcount & "' size='10' maxlength='20' checked value= 'None'> "
response.write MChoice1 &_
":<input type='radio' name='Mvalue" & mcount & "' size='10' maxlength='20' value=" &_
MChoice1 & "'> "
response.write MChoice2 &_
":<input type='radio' name='Mvalue" & mcount & "' size='10' maxlength='20' value=" &_
MChoice2 & "'><br>"
Rs.MoveNext
Loop
Any help would be greatly appreciated.
Thanks in advance,
Al