Solved

How can I make ASP return a Hyperlinked email field

Posted on 1999-01-11
6
179 Views
Last Modified: 2013-12-25
I am a newbie to database programming, so please explain your answer thoroughly- thanx:)  I am starting to put together an intranet for the company I work for.  The heart of my problem lies at creating a directory with email search feature.  I can get the results to come up properly (FirstName, LastName, and EmailAddress), however, I would like the email address to hyperlink to the users mail program and automatically providing the email address in the TO: text box.  I have searched a long time for the solution to this problem, but have come up empty.  This is my last hope.  Thanx to all that attempt to help me.
0
Comment
Question by:sbernado
  • 3
  • 3
6 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1857894
I will assume the database recordset is called "RS" and the field name is called "EMail":

<A HREF="mailto:<%=rs("EMail")%>"><%=rs("EMail")%></A>

this will create an email link to the person with the email as a hyperlink.
0
 

Author Comment

by:sbernado
ID: 1857895
Sorry MasseyM, but this did not work for me.  I am using FP98 if that makes a difference. This may be partly due to my lack of knowledge about setting up databases. I am guessing by viewing the code that my recordset is called fp_rs(i changed your code and tried it but that didn't work either).  Any further help is greatly appreciated, and I will be happy to give you the points the second it works!
0
 

Author Comment

by:sbernado
ID: 1857896
MasseyM - You were right!  I got it too work!  You are a genius!  Please lock the questin again so I can award you the points.  Thanx a MM!!!

Sbernado
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 10

Expert Comment

by:MasseyM
ID: 1857897
Can you email the database and asp page to me?  I will see what I can do.

masseym@javanet.com

(Zipped format will work fine.)

- matt
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 100 total points
ID: 1857898
Sorry... I guess I was looking at a cached page... You're welcome.


0
 

Author Comment

by:sbernado
ID: 1857899
Thanx Again!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to dynamically set the form action using jQuery.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question