Solved

How can I make ASP return a Hyperlinked email field

Posted on 1999-01-11
6
190 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
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This video teaches users how to migrate an existing Wordpress website to a new domain.
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…

733 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