Forums

ASP

This topic is locked

Passing 2 Values To GO TO Detail Page

Posted 11 Jul 2007 11:48:34
1
has voted
11 Jul 2007 11:48:34 Matthew Cooper posted:
Ive got a page of different countries and different values for each country, i.e. Pending, Approved, Denied etc, im trying to create a go to details page which will pass the 2 values across to it, at the moment its as below, is this as should be required?

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>&lt;A HREF="registration_individual1.asp?&lt;%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Ind_Country=" & rs_enpending.Fields.Item("Ind_Country".Value & "Ind_Status=" & rs_enpending.Fields.Item("Ind_Status".Value %&gt;"&gt;&lt;%=(rs_enpending_total)%&gt;&lt;/A&gt; <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I have inserted the 2nd bit beginning at the & "Ind_Country.... Can anyone see a problem with it?

Also on the detail page it needs to be filtered by the 2 values of course, is it just a case of adding a 2nd variable and calling it MMCOlParam2 with the Request.Querystring of "Ind_Country" in the run time value?

Appreicate any help

Regards

Mat

Replies

Replied 12 Jul 2007 11:44:41
12 Jul 2007 11:44:41 Matthew Cooper replied:
Managed to sort it, below is the code on how to do it

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>&lt;A HREF="registration_individual1.asp?&lt;%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Ind_Country=" & rs_enpending.Fields.Item("Ind_Country".Value%&gt;&&lt;%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "Ind_Status=" & rs_enpending.Fields.Item("Ind_Status".Value %&gt;"&gt;&lt;%=(rs_enpending_total)%&gt;&lt;/A&gt; <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Mat

Reply to this topic