質問
Passing two variables in the body of the URL using the go to detail page SB in ASP
Hi all,
Would appreciate your assistance with the following, I'm trying to set up a go to detail page sb that passes two variable in the body of the URL rather than the standard one.
The code i've tried is -
<td><A HREF="gggggggtest.asp?<%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") + "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value %>&"PCL1ID=" + othermenutwo.Fields.Item("PCL2PC1ID").Value %><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
Where the PCL1ID and the PCL2ID are the variables
The normal code generated by the go to detail page sb with one variable is -
<td><a href="ggggggtest.asp?<%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") + "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value %>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
Unfortunatley my code tweaking isn't working as the second variable isn't being sent, any help would be gratefully appreciated
Thanks
Would appreciate your assistance with the following, I'm trying to set up a go to detail page sb that passes two variable in the body of the URL rather than the standard one.
The code i've tried is -
<td><A HREF="gggggggtest.asp?<%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") + "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value %>&"PCL1ID=" + othermenutwo.Fields.Item("PCL2PC1ID").Value %><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
Where the PCL1ID and the PCL2ID are the variables
The normal code generated by the go to detail page sb with one variable is -
<td><a href="ggggggtest.asp?<%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") + "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value %>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
Unfortunatley my code tweaking isn't working as the second variable isn't being sent, any help would be gratefully appreciated
Thanks
