TastyWheat
Registered User.
- Local time
- Today, 07:13
- Joined
- Dec 14, 2005
- Messages
- 125
I'm using two tables to make a "guest list" report. One table has general reservation info including a guest name. The other table has info on each guest's children. So one reservation (guest) can can have 1 to 6 children.
I have a query setup that joins each reservation and each child based on a reservation ID. So if one person has 2 children that person's name will show up 2 times. Something like:
Now I would expect that if I group the report by first and last name (each has it's own header) the sub-header would contain a list of the children of that guest. What I'm observing is that the list of children is being shown based on first name only. So I see something like this:
If you didn't notice what's wrong, John Doe only has 2 children but the report shows he has 4. Again, I think it's because the other children's parent has the same first name.
I have a query setup that joins each reservation and each child based on a reservation ID. So if one person has 2 children that person's name will show up 2 times. Something like:
Code:
Guest Name | Child Name
-----------------------
John Doe | Jimmy Doe
John Doe | Jason Doe
John Smith | Jerry Smith
John Smith | Jacob Smith
Now I would expect that if I group the report by first and last name (each has it's own header) the sub-header would contain a list of the children of that guest. What I'm observing is that the list of children is being shown based on first name only. So I see something like this:
Code:
John Doe
--------
Jimmy
Jason
Jerry
Jacob
If you didn't notice what's wrong, John Doe only has 2 children but the report shows he has 4. Again, I think it's because the other children's parent has the same first name.