473,657 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Storing/Using Email addresses in tables

Thought maybe I could do this with a hyperlink field in a
table.......... .but doesn't seem to be working. I basically got a vendors
table with all the contact info. One of the fields is EMAIL (for the email
address of the contact). Basically I want people to be able to click on the
email address or field and have their default mail program pop up with that
address in it.

How can I do this? Am I thinnk to hard about this and should just make it a
text field?

THANK

Jim
Nov 12 '05 #1
2 6743
On Wed, 10 Sep 2003 10:28:44 -0400, "Jim Fox" <ji****@charter mi.net> wrote:
Thought maybe I could do this with a hyperlink field in a
table......... ..but doesn't seem to be working. I basically got a vendors
table with all the contact info. One of the fields is EMAIL (for the email
address of the contact). Basically I want people to be able to click on the
email address or field and have their default mail program pop up with that
address in it.

How can I do this? Am I thinnk to hard about this and should just make it a
text field?

THANK

Jim


Forget about using Hyperlink fields in your table, it is more trouble than it is worth. Store the email addresses in a standard text field.
On your form place a small command button (cmdEmail) next to your email address control (txtEmail).

On the form's OnCurrent event and the AfterUpdate event of the email address control put something like -

If Not IsNull(Me.txtEm ail) Then
Me.cmdEmail.Hyp erlinkAddress = "MailTo:" & Me.txtEmail
Me.cmdEmail.Ena bled = True
Else
Me.cmdEmail.Ena bled = False
End If

If the current record has an email address entered, the command button will be enabled with it's HyperlinkAddres s set to the current email address.
Clicking the button will open your default mail client to a new email with the address entered.
Wayne Gillespie
Gosford NSW Australia
Nov 12 '05 #2
look at this http://files.bdmco.com/email.zip

"Jim Fox" <ji****@charter mi.net> wrote in message
news:vl******** ****@corp.super news.com...
Thought maybe I could do this with a hyperlink field in a
table.......... .but doesn't seem to be working. I basically got a vendors
table with all the contact info. One of the fields is EMAIL (for the email address of the contact). Basically I want people to be able to click on the email address or field and have their default mail program pop up with that address in it.

How can I do this? Am I thinnk to hard about this and should just make it a text field?

THANK

Jim

Nov 12 '05 #3

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

Similar topics

1
1468
by: Ajay Garg | last post by:
What is the way we could implement a business logic from a Table by storing it statemnnets in a colums and defining an execute sql to execute it.Some legal requirements make it diffcult for us to create modify stored procdures so Iwant to have a process where we create new rows in a table and execute it to execute business logic. All views are welcome. Havin g one table two tables different approaches to store ststements
7
3635
by: Dave | last post by:
I have a system that basically stores a database within a database (I'm sure lots have you have done this before in some form or another). At the end of the day, I'm storing the actual data generically in a column of type nvarchar(4000), but I want to add support for unlimited text. I want to do this in a smart fashion. Right now I am leaning towards putting 2 nullable Value fields: ValueLong ntext nullable ValueShort nvarchar(4000)...
6
2373
by: Ted | last post by:
Hi... I'm setting up a website that will send out a newsletter to my website subscribers. What are my options for collecting/storing the email addreses and what are my options for sending out a newsletter? A few years ago I used what I think was called a LIST-SERV - not sure...would that work and/or is there something better.
6
1953
by: Shannan Casteel via AccessMonster.com | last post by:
I'll explain as well as possible...not an experienced user...but learning. I am working on a database for different kinds of problems with machines. A user will be able to select a problem category from a combo box (i.e. Engine, Fuel, Electrical, Steering, Power Train, Brakes, Hydraulic, Chassis/Structure, etc.). Upon the users selection a series of cooresponding check boxes appears on the form with Problem Subcategories. For instance,...
1
1799
by: webcm123 | last post by:
I'm looking for a good method of securing ratings. Cookies lock isn't sufficient. In addition to cookies I would need something else. I'm introducing some ways. -= Storing rates inside seperate tables =- Seperate tables (artrates, filerates, imgrates) will contain: ID of item | rate | user | IP 1 rate = 1 record. Field USER will filled if only registered users can
3
2134
by: aaa2876 | last post by:
Hello everyone! I am in the process of setting up a client contact database for my office and I have run into a bit of a snag. The database I have allows for one address per client but some of our clients have two that we will use - one for home and one for work. Problem #1 where do I add in the fields for a second address - in the Contacts Table that is already established or a separate Table? We also would like to use these...
1
1762
by: Robert Dufour | last post by:
I have a table of addresses and it contains a CountryId which points to a table of countries. The datatstructure of the Countries Lookup tables is actually created from three tables - a CountryIdtable - a Countries localized tables and an cultures tables From which I extract a dataset select CountryID - CountryName - Culture name (with inner joins between the three) where CultureName = CurrentCulture.CurrentUiCulture.tostring. So I would...
3
2995
by: praveena mani | last post by:
What are the advantages of storing addresses of students or customers in a separate table in database?
6
1767
by: ej20 | last post by:
I have a php page that pulls email addresses from a MSSQL database. I am trying to insert these addresses into the BCC: Outlook via a link. my query is as follows:$connect = mssql_connect(SERVER, LOGIN, PASS) or die("Couldn't connect to SQL Server on SERVER"); $database = mssql_select_db(DBNAME,$connect) or die("Couldn't open database $DBNAME"); $query = "SELECT Distinct ClcEmail FROM ClientContact WHERE Deleted = 0 AND...
0
8392
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1607
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.