lisarmj
05-09-2008, 07:03 PM
Hi..I am using Access 2007 and am creating a membership directory.
I have created the following tables:
tblFamily: includes address, phone, e-mail - primary key is fldFamID
tblDependents: includes family member's first name, last name, DOB, relationship (husband, wife, child) - primary key is a combination of fldFamID and fldMemID
tblFamily and tblDependents have a One-to-Many relationship
I am now trying to create the directory and a series of mailing labels that I would addressed to the heads of the family (relationship codes 1 and 2)
ie: Mr John and Mary Smith (data stored in tblDependents)
123 Main Street (data stored in tblFamily)
Anywhere, St 12312 (data stored in tblFamily)
My problem is that John Smith is fldFamID: 4, fldMemID:1 and Mary Smith is fldFamID: 4, fldMemID: 2
John is fldRelID: 1 (male spouse)
Mary is fldRelID: 2 (female spouse)
How can I get their names into the same textbox on the report?
Thanks!
I have created the following tables:
tblFamily: includes address, phone, e-mail - primary key is fldFamID
tblDependents: includes family member's first name, last name, DOB, relationship (husband, wife, child) - primary key is a combination of fldFamID and fldMemID
tblFamily and tblDependents have a One-to-Many relationship
I am now trying to create the directory and a series of mailing labels that I would addressed to the heads of the family (relationship codes 1 and 2)
ie: Mr John and Mary Smith (data stored in tblDependents)
123 Main Street (data stored in tblFamily)
Anywhere, St 12312 (data stored in tblFamily)
My problem is that John Smith is fldFamID: 4, fldMemID:1 and Mary Smith is fldFamID: 4, fldMemID: 2
John is fldRelID: 1 (male spouse)
Mary is fldRelID: 2 (female spouse)
How can I get their names into the same textbox on the report?
Thanks!