N
neclark2
I'm trying to create a report from my database which contains weak entities.
As an example, lets say that the only two tables that I have are a Lawyers
table and a Clients table. Each Client has exactly one lawyer. Therefore, I
want my report to look like this:
Lawyer 1
Lawyer Name
Email
Firm Name
Client 1
Client Name
Email
Client 2
Client Name
Email
Client 3
Client Name
Email
========================
Lawyer 2
Lawyer Name
Email
Firm Name
Client 3
Client Name
Email
Client 4
Client Name
Email
I know that this requires multiple queries but I'm not sure how to do it in
Access...using a single query just results in this:
Lawyer 1
Lawyer Name
Email
Firm Name
Client 1
Client Name
Email
--------------------------------------
Lawyer 1
Lawyer Name
Email
Firm Name
Client 2
Client Name
Email
----------------------------------------
Lawyer 1
Lawyer Name
Email
Firm Name
Client 3
Client Name
Email
This is clearly not what I want as it contains alot of redundant data and is
not an intuitive representation of my database. Any help would be greatly
appreciated!!
Nick
As an example, lets say that the only two tables that I have are a Lawyers
table and a Clients table. Each Client has exactly one lawyer. Therefore, I
want my report to look like this:
Lawyer 1
Lawyer Name
Firm Name
Client 1
Client Name
Client 2
Client Name
Client 3
Client Name
========================
Lawyer 2
Lawyer Name
Firm Name
Client 3
Client Name
Client 4
Client Name
I know that this requires multiple queries but I'm not sure how to do it in
Access...using a single query just results in this:
Lawyer 1
Lawyer Name
Firm Name
Client 1
Client Name
--------------------------------------
Lawyer 1
Lawyer Name
Firm Name
Client 2
Client Name
----------------------------------------
Lawyer 1
Lawyer Name
Firm Name
Client 3
Client Name
This is clearly not what I want as it contains alot of redundant data and is
not an intuitive representation of my database. Any help would be greatly
appreciated!!
Nick