Solved

How can I make ASP return a Hyperlinked email field

Posted on 1999-01-11
6
184 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
manage footer size 4 72
push Book Today button to right 10 36
ASP.NET MVC 2 40
Wordpress Only run code if on a certain page 11 22
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

856 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