473,396 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Hyperlinks stored in database

I'm using ASP 3 and Access 2000. I have hyperlinks that are stored in a
field in the database. Here is my code:
<%=(rsItems("HostingCompany"))%>
Inside the Hosting Company field is the hyperlink.
When the field shows in the browser I want it to look like www.etc.com or
www.whatever.com

I've been trying stuff with the a href. I can't seem to get the code right.

Thanks.
Jul 19 '05 #1
3 2001
<a href=<%=rsItems("HostingCompany")%>><%=rsItems("Ho stingCompany")%></a>
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Pacific Design Studios" <ER*******@pacificdesignstudios.com> wrote in
message news:uV**************@TK2MSFTNGP11.phx.gbl...
I'm using ASP 3 and Access 2000. I have hyperlinks that are stored in a
field in the database. Here is my code:
<%=(rsItems("HostingCompany"))%>
Inside the Hosting Company field is the hyperlink.
When the field shows in the browser I want it to look like www.etc.com or
www.whatever.com

I've been trying stuff with the a href. I can't seem to get the code right.
Thanks.

Jul 19 '05 #2
Try this:

<a href="http://<%=rsItems("HostingCompany")%>"><%=rsItems("Hostin gCompany")%></a>

Andy Sutorius
www.sutorius.com
On Mon, 7 Jul 2003 16:56:55 -0700, "Pacific Design Studios" <ER*******@pacificdesignstudios.com> wrote:
I'm using ASP 3 and Access 2000. I have hyperlinks that are stored in a
field in the database. Here is my code:
<%=(rsItems("HostingCompany"))%>
Inside the Hosting Company field is the hyperlink.
When the field shows in the browser I want it to look like www.etc.com or
www.whatever.com

I've been trying stuff with the a href. I can't seem to get the code right.

Thanks.


Jul 19 '05 #3
Thanks.



"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:e0**************@tk2msftngp13.phx.gbl...
<a href=<%=rsItems("HostingCompany")%>><%=rsItems("Ho stingCompany")%></a>
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Pacific Design Studios" <ER*******@pacificdesignstudios.com> wrote in
message news:uV**************@TK2MSFTNGP11.phx.gbl...
I'm using ASP 3 and Access 2000. I have hyperlinks that are stored in a
field in the database. Here is my code:
<%=(rsItems("HostingCompany"))%>
Inside the Hosting Company field is the hyperlink.
When the field shows in the browser I want it to look like www.etc.com or www.whatever.com

I've been trying stuff with the a href. I can't seem to get the code

right.

Thanks.


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tim | last post by:
Access 97: I have a table with a hyperlink field that I display on a form. I can click on the form field and the hyperlink activates correctly. However, if I try to activate the hyperlink using VB...
1
by: M Garelick | last post by:
I have received a database that has absolute hyperlinks (I think that's what they're called). Here's an example: d:\office\files\mc kinzie kenneth\documents\information filed 7-15-97.pdf I...
1
by: Tom | last post by:
I have a project database in which I use hyperlinks to call up various related supporting documents (e.g., proposals, contracts, reports, site photos, etc.). The documentes are in Word, Excel, PDF...
0
by: tdmailbox | last post by:
I have a access database appliaction that links to a sql back end. One column has a field that is always populated witha hyperlink. Since it is a linked table though it is stored as a varchar in...
2
by: Sam Collett | last post by:
Say I have string foo = "Some text http://www.google.com more text fred.bloggs@somewhere.com more"; How could I parse it to find the links and store the results in a string array, i.e. to get...
1
by: Robin | last post by:
Hello! I'm having trouble with links and hyperlinks in MS Access 2003 - any help would be great! Question 1! The "insert hyperlink" icon opens a browser window, allows the user to browse...
1
by: jez123456 | last post by:
Hi Experts I have a working c# application that users can store files (.doc, .xls, ..bmp, etc) as binary data into an Access database. I now need to extend this to also store hyperlinks. ...
1
by: Janna | last post by:
Hello tech savvy gurus! I hope someone can help me! THE PROBLEM: "Cannot open specified file" when I click on a hyperlink in an Access database when it is located on our server. THE...
0
by: Giero | last post by:
Hello, I have a little problem with my database. I created table where one of the fields is hyperlinked and is linking to the .doc files stored on the network drive. I can get the queries and...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.