<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2656.44">
<TITLE>Java quesiton</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">I have managed to use a text box to generate a dynamic web link using information from this forum and others. The code I have used is shown below...</FONT></P>

<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;form name=&quot;form1&quot; action =&quot;link.asp&quot; &gt;</FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;input type=text name=&quot;url1&quot;&gt;</FONT></I>
</P>

<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;a onclick=&quot;window.location=('<A HREF="http://har03000/'+document.form1.url1.value" TARGET="_blank">http://har03000/'+document.form1.url1.value</A>)&quot;&gt;link&lt;/a&gt;</FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&nbsp;</FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&nbsp;&lt;hr&gt;</FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&nbsp;</FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&nbsp; &lt;form name=&quot;form2&quot; action =&quot;link.asp&quot; &gt;</FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;input type=text name=&quot;url2&quot;&gt;</FONT></I>
</P>

<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;a onclick=&quot;window.location=('<A HREF="http://har03000/'+document.form1.url2.value" TARGET="_blank">http://har03000/'+document.form1.url2.value</A>)&quot;&gt;link&lt;/a&gt;</FONT></I>
</P>
<BR>

<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;/form&gt;</FONT></I>
</P>

<P><FONT SIZE=2 FACE="Arial">This is for two dynamic boxes and links. The problem is I want to use asp variables as part of the url in the link. This means that if I read through a database with asp and generated a table, each row would have the text box and link at the end of it but each link would contain unique information from each record.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Something like this..</FONT>
</P>
<BR>

<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&nbsp; &lt;form name=&lt;%=id&gt; action =&quot;link.asp&quot; &gt;</FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;input type=text name=&lt;%=id&gt;&gt;</FONT></I>
</P>

<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;a onclick=&quot;window.location=('<A HREF="http://har03000/'+document.form1" TARGET="_blank">http://har03000/'+document.form1</A>.&lt;%=id&gt;.value)&quot;&gt;link&lt;/a&gt;</FONT></I>
</P>

<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&lt;/form&gt;</FONT></I>
</P>

<P><FONT SIZE=2 FACE="Arial">Is it possible?</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Marcus Wilding</FONT>
<BR><FONT SIZE=2 FACE="Arial">Systems Analyst</FONT>
<BR><FONT SIZE=2 FACE="Arial">Systems Department </FONT>
<BR><FONT SIZE=2 FACE="Arial">54/300</FONT>
<BR><FONT SIZE=2 FACE="Arial">Halewood Transmission Plant</FONT>
<BR><FONT SIZE=2 FACE="Arial">Getrag Ford GmbH</FONT>
<BR><FONT SIZE=2 FACE="Arial">Liverpool </FONT>
<BR><FONT SIZE=2 FACE="Arial">L24 9LE </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Phone +44 (0)151 485 5580&nbsp; (8 716 5580) </FONT>
<BR><FONT SIZE=2 FACE="Arial">Fax&nbsp;&nbsp; +44 (0)151 485 5589&nbsp; (8 716 5589)</FONT>
</P>

</BODY>
</HTML>