Daniel
I'm not sure I'm understanding... it sounds like you have a group table for
each group. This is not a good design. Please re-read my earlier response
for a common design approach.
Regards
Jeff Boyce
Microsoft Office/Access MVP
Sorry, I am mixing things up. I mentioned 2 groups but for these 2 groups
I
am actually using 2 different tables, tblGroup1 and 2. I will try to
clarify
things a bit more: I made a test using the first design option I mentioned
in
my first msg, to see if I can get these functions to work. The database
would
be used for mass mailing, Word merge and address labels printing. I have
tested the database on different machines using a sample of about 200
persons
and all these functions seem to work fine, no errors (somehow strange for
my
knowledge of Access). So I was very happy. Now I am not sure if the design
for the group tables are correct so that I can begin to use the database.
I
saw another database and saw a different design>> option 2.
The database works this way, e.g. for mass mailing. On the main form, I
created a button, OnClick a [Parameter] query opens. This parameter uses
descriptions in tblGroup1. tblGroup1 contains Edu for Education dep,
Finance,
etc. So when I need to send e-mail (or for Word merge) to all those who
belong to Education dep, I type edu in the parameter query. I hope my
question is now more clear...my English is unfortunately not that great..
Regards
Daniel
:
That will really depend on what your real world situation is. How are
"groups" and "contacts" related?
Can you have the same person designated the contact for more than one
group?
A common approach when you have persons, groups, and
person-as-contact-for-a-group is to use three tables, something like:
tblPerson
PersonID
FName
...
tblGroup
GroupID
GroupName
...
trelContact
PersonID
GroupID
ContactPhoneNumber (in case this can be different than the
person's
regular phone#)
...
--
Regards
Jeff Boyce
Microsoft Office/Access MVP
Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
Microsoft Registered Partner
https://partner.microsoft.com/
I have 2 simple tables tblContact & tblGroup and I have only 2 groups.
What
is the difference between these 2 designs and which one should I use?
tblContact
CONTACT_ID (Primary KEY)
GROUP (no Look up)
FirstName
LastName
tblGroup
Group (Primary Key)
....
tblContact
CONTACT_ID (Primary Key)
GROUP_ID (no Look up)
FirstName
LastName
tblGroup
GROUP_ID (Primary Key)
Group
Thanks for any assistance,
Daniel