473,811 Members | 2,767 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Button to Send an Email to Group(s)

Greetings all,
I'm not a developer (not even close) but have been teaching myself
Access lately and would like to ask the group for some help.

I've recently created a employee contact database for my office and
each contact in the table is classified into the type of contact they
are. Each contact can have more than one of these classifications .

What I would like to do is create a button on our entry form that you
would be able to click to, say, send an email to all our Blue Clients.
Another button could send an email to all our Red Clients. It would
open up the user's default email application (yes, VIM protocol) and
would dump the email addresses of all the contacts in that
classification into the TO: line.

I've been able to find information and have created buttons that would
attach a report from your database (DoCmd.SendObje ct). But I can't
seem to find out how to do this one.

Any (simplified) assistance would be greatly appreciated.

Thanks!
~Jeff West
Seattle, WA
Nov 12 '05 #1
1 3518
we******@yahoo. com (Jeff West) wrote in message news:<55******* *************** ****@posting.go ogle.com>...
Greetings all,
I'm not a developer (not even close) but have been teaching myself
Access lately and would like to ask the group for some help.

I've recently created a employee contact database for my office and
each contact in the table is classified into the type of contact they
are. Each contact can have more than one of these classifications .

What I would like to do is create a button on our entry form that you
would be able to click to, say, send an email to all our Blue Clients.
Another button could send an email to all our Red Clients. It would
open up the user's default email application (yes, VIM protocol) and
would dump the email addresses of all the contacts in that
classification into the TO: line.

I've been able to find information and have created buttons that would
attach a report from your database (DoCmd.SendObje ct). But I can't
seem to find out how to do this one.

Any (simplified) assistance would be greatly appreciated.

Thanks!
~Jeff West
Seattle, WA


You'd need 3 tables. Client--<ClientGroup>---Group

Then you could do something like use the code from mvps.org to
concatenate all the ClientGroup record values into a single field in a
query, and send the e-mail to that list. Then you could pass that
function's return value to the SeondObject command, and it would do
the mailing for you. Here's the link:

http://www.mvps.org/access/modules/mdl0004.htm
Nov 12 '05 #2

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

Similar topics

2
11053
by: Øyvind Isaksen | last post by:
Hi! I have made a function calles "send()". When I click a button, I want the function to be prosessed. This is the code that I have made, but it dont work: <%function send()
4
2539
by: Colin Kingston | last post by:
Hi For a college project I intend to produce a web based access database which will allow a group leader to send the same email to group members registered for that group. I want the group leader to be able to: Open a web page, choose a group, write an email and send the email to the group. The database will be hosted by a web hosting company which uses server
7
1839
by: Miguel Dias Moura | last post by:
Hello, I am working in ASP.net / VB with Access Database. i have a Multipage in my web site with the Submit button as the last button. When the Submit button is pressed i want the form values to be added to a database and sent by email. 1. I have the code which submits the form values to the database. (See at
3
2225
by: domcatanzarite | last post by:
How would one create a button that on click advances the form to the next "non recurring record" as opposed to the next record. The field the button needs to que from has groups of duplicate values. I need it to advance the form to the next group of duplicate values not just the next record.
28
2491
by: AndyZa | last post by:
The following html creates a page with two input buttons - the first is a small button and the second is a much larger button because it has a longer value. In Internet Explorer 6 the second button (btn2, with the large value) has a much thicker border than the first button. How can I get the two buttons to look the same, regardless of the size of the value parameter? I want btn2 to look the same as btn1. <html> <body>
8
3732
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I disable the right mouse button? ----------------------------------------------------------------------- The oncontextmenu intrinsic event is the only safe and reliable method. Of the other approaches often presented, most depend on an alert box interrupting the process and rarely work. Note that oncontextmenu is a non-standard event and is not...
4
3019
by: Ken Fine | last post by:
I'm making an administrative interface that lists records in a GridView. For *each* row in the gridview, I would there to be two interface elements in addition to some information associated with the record. Those interface elements are a Button and a TextBox. The idea is that the administrator using the interface will fill in an e-mail address and press the button if they want to send that particular record to someone by e-mail. (I know...
2
3603
by: Peter | last post by:
I have a HoverMenuExtender which contains an asp:PlaceHolder, this place holder gets a dynamically created User Control and this control contrains a Button. The problem I am having is the Button never fires the click event or event never gets posted, after I click on the button the HoverMenuExtender disapears and does not appear until I refresh the screen. How can I get the Button to fire the server side click event?
3
6885
by: ToddFur | last post by:
I see several postings on this but I am still unable to figure out my problem. I can pass the values of my text field but not radio button (or even checkboxes). My PHP file <?php //declare our variables $day = $_GET; $date = $_GET; $groupname = $_GET;
0
9727
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
9605
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
10386
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10398
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9204
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7669
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
6889
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
5554
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
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.