I volunteer for a non-for profit group and they have alot of names in a
multiple databases. the problem is that some people are in multiple
databases. and if they send out a mailing from multiple databases some
people get 2 and 3 of the same thing. my idea was to either make or find a
program that has everyone is 1 database and then make the people part of
multiple groups. (ex: bill is part of group a and b and im doing a mailing
from both group i only want 1 piece of mail to go to him).
It can be a separate program or with access. that use access now but i cant
figure out how to make my idea work.
any question please ask.
tia
Stephen 10 2067
Stephen wrote:
I volunteer for a non-for profit group and they have alot of names in a
multiple databases. the problem is that some people are in multiple
databases. and if they send out a mailing from multiple databases some
people get 2 and 3 of the same thing. my idea was to either make or find a
program that has everyone is 1 database and then make the people part of
multiple groups. (ex: bill is part of group a and b and im doing a mailing
from both group i only want 1 piece of mail to go to him).
It can be a separate program or with access. that use access now but i cant
figure out how to make my idea work.
any question please ask.
tia
Stephen
First off you should only have ONE database!!!
Within that database there should be 3 tables:
contacts(contact_id,f_name,l_name,street1,street2, email1address,etc,etc)
groups(group_id,group_name,group_description)
groups_contacts(group_id,contact_id)
Your query would then look like this (untested)
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id;
strawberry wrote:
Stephen wrote:
I volunteer for a non-for profit group and they have alot of names in a
multiple databases. the problem is that some people are in multiple
databases. and if they send out a mailing from multiple databases some
people get 2 and 3 of the same thing. my idea was to either make or find a
program that has everyone is 1 database and then make the people part of
multiple groups. (ex: bill is part of group a and b and im doing a mailing
from both group i only want 1 piece of mail to go to him).
It can be a separate program or with access. that use access now but i cant
figure out how to make my idea work.
any question please ask.
tia
Stephen
First off you should only have ONE database!!!
Within that database there should be 3 tables:
contacts(contact_id,f_name,l_name,street1,street2, email1address,etc,etc)
groups(group_id,group_name,group_description)
groups_contacts(group_id,contact_id)
Your query would then look like this (untested)
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id;
Oops, that query should be like this (again untested):
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id
WHERE gc.group_id = 1
OR gc.group_id = 2;
strawberry wrote:
Stephen wrote:
I volunteer for a non-for profit group and they have alot of names in a
multiple databases. the problem is that some people are in multiple
databases. and if they send out a mailing from multiple databases some
people get 2 and 3 of the same thing. my idea was to either make or find a
program that has everyone is 1 database and then make the people part of
multiple groups. (ex: bill is part of group a and b and im doing a mailing
from both group i only want 1 piece of mail to go to him).
It can be a separate program or with access. that use access now but i cant
figure out how to make my idea work.
any question please ask.
tia
Stephen
First off you should only have ONE database!!!
Within that database there should be 3 tables:
contacts(contact_id,f_name,l_name,street1,street2, email1address,etc,etc)
groups(group_id,group_name,group_description)
groups_contacts(group_id,contact_id)
Your query would then look like this (untested)
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id;
Oops, that query should be like this (again untested):
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id
WHERE gc.group_id = 1
OR gc.group_id = 2;
yopu say 3 tables...contacts is the table and the stuff in the () is the
fiels names?
"strawberry" <za*******@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
strawberry wrote:
>Stephen wrote:
I volunteer for a non-for profit group and they have alot of names in a
multiple databases. the problem is that some people are in multiple
databases. and if they send out a mailing from multiple databases some
people get 2 and 3 of the same thing. my idea was to either make or
find a
program that has everyone is 1 database and then make the people part
of
multiple groups. (ex: bill is part of group a and b and im doing a
mailing
from both group i only want 1 piece of mail to go to him).
It can be a separate program or with access. that use access now but i
cant
figure out how to make my idea work.
any question please ask.
tia
Stephen
First off you should only have ONE database!!!
Within that database there should be 3 tables:
contacts(contact_id,f_name,l_name,street1,street2 ,email1address,etc,etc) groups(group_id,group_name,group_description) groups_contacts(group_id,contact_id)
Your query would then look like this (untested)
SELECT DISTINCT(gc.contact_id),c.* FROM group_contacts AS gc LEFT JOIN contacts c ON c.contact_id = gc.contact_id;
Oops, that query should be like this (again untested):
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id
WHERE gc.group_id = 1
OR gc.group_id = 2;
Stephen wrote:
yopu say 3 tables...contacts is the table and the stuff in the () is the
fiels names?
"strawberry" <za*******@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
strawberry wrote:
Stephen wrote:
I volunteer for a non-for profit group and they have alot of names in a
multiple databases. the problem is that some people are in multiple
databases. and if they send out a mailing from multiple databases some
people get 2 and 3 of the same thing. my idea was to either make or
find a
program that has everyone is 1 database and then make the people part
of
multiple groups. (ex: bill is part of group a and b and im doing a
mailing
from both group i only want 1 piece of mail to go to him).
It can be a separate program or with access. that use access now but i
cant
figure out how to make my idea work.
any question please ask.
tia
Stephen
First off you should only have ONE database!!!
Within that database there should be 3 tables:
contacts(contact_id,f_name,l_name,street1,street2, email1address,etc,etc)
groups(group_id,group_name,group_description)
groups_contacts(group_id,contact_id)
Your query would then look like this (untested)
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id;
Oops, that query should be like this (again untested):
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id
WHERE gc.group_id = 1
OR gc.group_id = 2;
yes, that's right
another uestion. i know there is a way to make drop downs so that can only
pick a certian item...they only use like 5 or 10 sgroups how do i make the
drop down so it can be selected
"strawberry" <za*******@gmail.comwrote in message
news:11**********************@s13g2000cwa.googlegr oups.com...
>
Stephen wrote:
>yopu say 3 tables...contacts is the table and the stuff in the () is the fiels names?
"strawberry" <za*******@gmail.comwrote in message news:11**********************@h48g2000cwc.googleg roups.com...
strawberry wrote: Stephen wrote:
I volunteer for a non-for profit group and they have alot of names
in a
multiple databases. the problem is that some people are in multiple
databases. and if they send out a mailing from multiple databases
some
people get 2 and 3 of the same thing. my idea was to either make or
find a
program that has everyone is 1 database and then make the people
part
of
multiple groups. (ex: bill is part of group a and b and im doing a
mailing
from both group i only want 1 piece of mail to go to him).
It can be a separate program or with access. that use access now but
i
cant
figure out how to make my idea work.
any question please ask.
tia
Stephen
First off you should only have ONE database!!!
Within that database there should be 3 tables:
contacts(contact_id,f_name,l_name,street1,street2 ,email1address,etc,etc) groups(group_id,group_name,group_description) groups_contacts(group_id,contact_id)
Your query would then look like this (untested)
SELECT DISTINCT(gc.contact_id),c.* FROM group_contacts AS gc LEFT JOIN contacts c ON c.contact_id = gc.contact_id;
Oops, that query should be like this (again untested):
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id
WHERE gc.group_id = 1
OR gc.group_id = 2;
yes, that's right
and do i need a primary key
"strawberry" <za*******@gmail.comwrote in message
news:11**********************@s13g2000cwa.googlegr oups.com...
>
Stephen wrote:
>yopu say 3 tables...contacts is the table and the stuff in the () is the fiels names?
"strawberry" <za*******@gmail.comwrote in message news:11**********************@h48g2000cwc.googleg roups.com...
strawberry wrote: Stephen wrote:
I volunteer for a non-for profit group and they have alot of names
in a
multiple databases. the problem is that some people are in multiple
databases. and if they send out a mailing from multiple databases
some
people get 2 and 3 of the same thing. my idea was to either make or
find a
program that has everyone is 1 database and then make the people
part
of
multiple groups. (ex: bill is part of group a and b and im doing a
mailing
from both group i only want 1 piece of mail to go to him).
It can be a separate program or with access. that use access now but
i
cant
figure out how to make my idea work.
any question please ask.
tia
Stephen
First off you should only have ONE database!!!
Within that database there should be 3 tables:
contacts(contact_id,f_name,l_name,street1,street2 ,email1address,etc,etc) groups(group_id,group_name,group_description) groups_contacts(group_id,contact_id)
Your query would then look like this (untested)
SELECT DISTINCT(gc.contact_id),c.* FROM group_contacts AS gc LEFT JOIN contacts c ON c.contact_id = gc.contact_id;
Oops, that query should be like this (again untested):
SELECT DISTINCT(gc.contact_id),c.*
FROM group_contacts AS gc
LEFT JOIN contacts c ON c.contact_id = gc.contact_id
WHERE gc.group_id = 1
OR gc.group_id = 2;
yes, that's right
Stephen wrote:
and do i need a primary key
contacts(contact_id*,f_name,l_name,street1,street2 ,email1address,etc,etc)
groups(group_id*,group_name,group_description)
groups_contacts(group_id*,contact_id*)
* = Primary Key
Note that the Primary Key for the groups_contacts table is a
combination of both the group_id and the contact_id
Stephen wrote:
another uestion. i know there is a way to make drop downs so that can only
pick a certian item...they only use like 5 or 10 sgroups how do i make the
drop down so it can be selected
This sounds like an access question. Sorry, I don't anything about
access!
ok ty
"strawberry" <za*******@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
>
Stephen wrote:
>and do i need a primary key
contacts(contact_id*,f_name,l_name,street1,street2 ,email1address,etc,etc)
groups(group_id*,group_name,group_description)
groups_contacts(group_id*,contact_id*)
* = Primary Key
Note that the Primary Key for the groups_contacts table is a
combination of both the group_id and the contact_id This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rajesh Garg |
last post by:
I have actually extended my request
I have a scenario like this.......
update esan set tes_address_city = 'TEST1' --at some time
update esan set tes_address_city = 'TEST12' --at some time...
|
by: Phin |
last post by:
I need your HELP!
I've seen all the posts on using Crystal Reports within vs.net (vb.net)
and changing a SQL query at runtime. When I tried to pass in a dataset
into the crystal report at...
|
by: Dom Boyce |
last post by:
Hi
First up, I am using MS Access 2002.
I have a database which records analyst rating changes for a list of
companies on a daily basis. Unfortunately, the database has been set
up (by my...
|
by: Edward S |
last post by:
I budget for a Project in an Excel sheet as illustrated below. The
months below are usually a 2 year period i.e. 24 months, though it
could be over 24 months depending upon a Project. I then...
|
by: Rob Cheshire |
last post by:
Hi to all,
I need some help deciding on the best database system for our
specific application.
OPTIONAL INFO: We currently have 2 separate projects that need to be
updated from dos-based dBase. ...
|
by: MyndPhlyp |
last post by:
I am about to completely lose what is left of my poor mynd! The historical
dissertation gets rather verbose, so I hope you can wade through it all. I
really need some help on this one or I'm...
|
by: Rex |
last post by:
Hi All - I have a question that I think MIGHT be of interest to a
number of us developers. I am somewhat new to VIsual Studio 2005 but
not new to VB. I am looking for ideas about quick and...
|
by: Jay |
last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send
text messages to many, many employees via system.timer at a 5 second
interval. Basically, I look in a SQL table (queue) to...
|
by: warezguy05 |
last post by:
Hi
I'm developing a database driven website (my first one..) but i've run into a problem.
My vision:
The website should contain a database of DJ's that have played SETS at EVENTS (or raves...
|
by: O |
last post by:
I need to do some lookups and updates on some legacy Access 2.0 files
(they've from another vendor and I'm not in a position to update them).
I was successful using VB6, but I've moved on to VS...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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...
| |