As a new ASP programmer, I am having problems going to a new page based on values in my ACCESS database table. Since my last post, I tried the following code below using eRedirect with only one paremeter, but it still did not work. Ultimately, I want to send more than one parameters to the new page. Could you help me resofve it? Your help would be much appreciated.
<form action="PPPCSurvey.asp">
<%
Dim V_ReadingLevel
Dim V_GradeLevel
Dim V_FName
Dim V_LName
V_ReadingLevel = PPPCRecordset("Part_ReadingLevel")
V_GradeLevel = PPPCRecordset("Part_GradeLevel")
V_FName = PPPCRecordset("Part_FName")
V_LName = PPPCRecordset("Part_LName")
if V_ReadingLevel = V_GradeLevel then
sRedirect = "PPPCSurvey.asp?RGLevel=" & V_ReadingLevel
Response.Redirect sRedirect
else
sRedirect = "PPPCSurvey.asp?RGLevel=" & V_GradeLevel
Response.Redirect sRedirect
end if
%>
<input type="submit" name="Submit" value="StartSurvey" >
</form></td></tr></table>
Could the "form action" clause what could be affecting the redirect? .