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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Turning recordset values into hyperlinks

Status
Not open for further replies.

jwpward

Programmer
Sep 5, 2003
45
GB
Hi

I'm sure there's a simple answer, but i'm reading some values from a recordset into a table and one of the fields contains url's:

<td nowrap><font color="#0000FF"size="2"><%=(Recordset1.Fields.Item("URL").Value)%></font></td>

How do i actually display it as a hyperlink? Do i just put <a href""></a> tags around it? If so where? I can't get it to work.

Thanks alot

 
Code:
 <td nowrap><font color="#0000FF"size="2">[blue]<a href="<%=(Recordset1.Fields.Item("URL").Value)%>">[/blue]<%=(Recordset1.Fields.Item("URL").Value)%>[blue]</a>[/blue]</font></td>

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
zen.gif

 
Please Do Not Give Me A Star (I would ask to have it removed) but I see that you are new here and have not awarded any yet. When someone is particulary helpful, click on the link in their post that says "[blue]Thank [red]userName[/red]
for this valuable post![/blue]" to show your thanks!

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
zen.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top