Print Page | Close Window

ASP Access Hyperlink Help

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=14269
Printed Date: 30 March 2026 at 11:30am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP Access Hyperlink Help
Posted By: ianwillo
Subject: ASP Access Hyperlink Help
Date Posted: 16 March 2005 at 8:22am
Hello All!

I have an asp search page which grabs data from an access table. What i need to be able to do is to grab a hyperlink from that table so you can click another page.

Does anyone know how to do this??

Ta

Ian.



Replies:
Posted By: pjb007
Date Posted: 17 March 2005 at 6:43am
I think I have done this, the code is on my domaindlx account but the site is down at the moment, when it comes back I will post my code here.
 
Oh I got the code by asking on the web to!


Posted By: pjb007
Date Posted: 17 March 2005 at 6:58am
Right here is how I did it.
 

   Response.Write ("<a href=""" & "http://" & RSUser("url") & """ target=""_blank"">")

   Response.Write (RSUser("titletext")) 'the title of the website 

   Response.Write ("</a>") 

   Response.Write ("<br>") 

   Response.Write (RSUser("info")) 'info about website 

   Response.Write ("<br>")
 
 
note that in the database the http:// must not be added.
 
url
what I have called the address
e.g. http://www.webwizforums.com - www.webwizforums.com
 
titletext
The clickable link
e.g. Web Wiz Forums
 
info
About the site
e.g. Free ASP Bulletin Board Forum Software



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net