L
luke.999
Hi guys,
Here is my scenario. I have three tables: Cabinets, Doors, Drawers.
Cabinets table is a parent of both Doors and Drawers. All three tables
contain cabinetID which is a primary key in Cabinets and foreign key in
Doors and Drawers.
Each cabinet can have 0 or more Doors and 0 or more Drawers.
Now what I want to print in a report is:
Group by cabinet and then display all doors and drawers side by side
for that cabinet.
Like this:
cabinet1
door1 drawer1
door2
door3
cabinet2
drawer1
drawer2
cabinet3
door1 drawer1
door2 drawer2
drawer3
etc.
How would I go about creating a report like that? I'm totally confused
about how to join the tables to achieve this. Can I somehow use two
queries in a report maybe?
I'm desperate, please help
Luke
Here is my scenario. I have three tables: Cabinets, Doors, Drawers.
Cabinets table is a parent of both Doors and Drawers. All three tables
contain cabinetID which is a primary key in Cabinets and foreign key in
Doors and Drawers.
Each cabinet can have 0 or more Doors and 0 or more Drawers.
Now what I want to print in a report is:
Group by cabinet and then display all doors and drawers side by side
for that cabinet.
Like this:
cabinet1
door1 drawer1
door2
door3
cabinet2
drawer1
drawer2
cabinet3
door1 drawer1
door2 drawer2
drawer3
etc.
How would I go about creating a report like that? I'm totally confused
about how to join the tables to achieve this. Can I somehow use two
queries in a report maybe?
I'm desperate, please help
Luke