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!

Hyperlink from access to ASP

Status
Not open for further replies.

Trillithium

Technical User
Dec 9, 2000
27
NL
Hi there,

I'm a newbe on ASP so excuse me if my question is a dumb one. I have a access database connection and it works fine with asp. Adding, deleting, updating all goes well. In my database i have a Hyperlink field, and this field I would like to response.write it into my ASP page. Currently I can get the information out. But its printed as plain text. I would like to print it in ASP as a Hyperlink. Can someone tell me how to do that. I would be most thankful



 
Below is a sample I used for a hyperlink for an imagelink stored in an Access DB table, called by a SQL query. Make sure you break the lines where I have since it mixes HTML and VBS. Good Luck.

<%
dim imageLocation
imageLocation = cstr(objRS.fields(&quot;IMAGENAME&quot;))
%>
<a href=&quot;images/
<%=imageLocation%> <--Put this on own line-->
&quot; target=&quot;top>Click here for larger image</a>

Eric Searing
eric.searing@wcom.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top