My report contains multiple copies of each record

  • Thread starter Thread starter Mary
  • Start date Start date
M

Mary

I have three tables (parent/guardian, children, otheradults). that are all
related with left joins (i.e. Include ALL records from 'Parent/Guardian' and
only those records from 'Adults' where the joined fields are equal.) by
ContactID (which is the parent/guardian ID) same for children.

I created a query called Family which successfully combined three queries of
each table where I combined the first and last names into one field.

When I create my report, it creates an entry for EACH child rather than
listing the children and related adults under Parent/Guardian as I would
like. Can you tell me what I am doing. --
Positive Direction for Youth & Families, Inc. (www.pdfyinc.com)
 
I think you have the Children and the OtherAdults records each related back
to the parent table. If so, the children are not related to a specific other
adult records so you can't create a standard join query since each child will
be paired with each other adult.

I would review the table structure and possibly put all people in the same
table with a field designating the person type. These could be related to a
single household table.

If you can't fix your table structure, you might be able to create a union
query based on the children and other adult tables. Link this union query to
the primary key of the parent table.

If you can't figure this out, come back with table and field names and a few
records from each table with the desired output in the report.

You could also leave the tables the same but use 2 subreports for the
children and other adults.
 
Back
Top