Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing variable to frame

Status
Not open for further replies.

lucyc

Programmer
Mar 1, 2002
62
US
I am having difficulty to get the variabes to pass from one form to a frame. I have the following on a asp page:

response.write &quot;<TD ALIGN=CENTER width=&quot;&quot;10%&quot;&quot;>
<A HREF=&quot;&quot;testframe.htm?Lname=&quot; & _ objRec(&quot;lastname&quot;) & &quot;&Fname=&quot; & _
objRec(&quot;Firstname&quot;) & &quot;&RegNo=&quot; & _ objRec(&quot;ID&quot;) & &quot;&quot;&quot;>&quot; & _
objRec(&quot;ID&quot;) & &quot;</A> </TD>&quot;

On testfrmae.htm I have the following ;

<frameset name=&quot;frametest&quot; rows=&quot;115,*&quot;>
<frame name=&quot;top&quot; scrolling=&quot;yes&quot; noresize target=&quot;&quot; src=&quot;frame1.asp&quot;>
<frame name=&quot;bottom&quot; scrolling=&quot;yes&quot; noresize target=&quot;_self&quot; src=&quot;frame2.asp&quot;>
<noframes>

On frame1.asp I use Request.QueryString to try to get the values, but I get nothing. I use the same Request.Query String on frame2 and get nothing as well.

Client=Request.QueryString(&quot;RegNo&quot;)
Lname=Request.QueryString(&quot;Lname&quot;)
Fname=Request.QueryString(&quot;Fname&quot;)

Does anyone know how I can get the values for both frame. Please help. Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top