<!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> <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"><form name="form1" action ="link.asp" ></FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><input type=text name="url1"></FONT></I>
</P>
<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><a onclick="window.location=('<A HREF="http://har03000/'+document.form1.url1.value" TARGET="_blank">http://har03000/'+document.form1.url1.value</A>)">link</a></FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> </FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> <hr></FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> </FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> <form name="form2" action ="link.asp" ></FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><input type=text name="url2"></FONT></I>
</P>
<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><a onclick="window.location=('<A HREF="http://har03000/'+document.form1.url2.value" TARGET="_blank">http://har03000/'+document.form1.url2.value</A>)">link</a></FONT></I>
</P>
<BR>
<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></form></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"> <form name=<%=id> action ="link.asp" ></FONT></I>
<BR><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><input type=text name=<%=id>></FONT></I>
</P>
<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><a onclick="window.location=('<A HREF="http://har03000/'+document.form1" TARGET="_blank">http://har03000/'+document.form1</A>.<%=id>.value)">link</a></FONT></I>
</P>
<P><I><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></form></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 (8 716 5580) </FONT>
<BR><FONT SIZE=2 FACE="Arial">Fax +44 (0)151 485 5589 (8 716 5589)</FONT>
</P>
</BODY>
</HTML>