Solved

How can I make ASP return a Hyperlinked email field

Posted on 1999-01-11
6
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PowerShell Core for Advanced Linux Administrators

Understand advanced principals around Powershell Core with a focus on the Linux Administrator.  This course covers how to administer numerous environments across multiple platforms including Linux, Azure, AWS, and Google Cloud from a single shell instance.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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 count occurrences of each item in an array.

627 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