G
Guest
I am trying to generate output from a query for a large list of company names
with associated individuals linked to these companies. Ideally, I would like
to specify a particular company, say Company X, and get a list of all those
individuals linked to that company, for examples, individuals A, B, C and D.
Note that the individuals linked to a company are all found in the same
field. As a next step, I would like to get a list of all the companies to
which individuals A, B, C and D are linked, in addition to company X. For
example, individual A could be linked to company Y and Z in addition to X.
Likewise, individual B could be linked to company M, N and O in addition to
company X.
I believe the first step is creating a cross-tab query. I have managed to
get a list of all the individuals in a column format with all their
associated companies in a row format. Is this the correct first step? If so,
what is the next type of query I should run? If not, is there a more elegant
solution?
Any help would be much appreciated. Thanks.
with associated individuals linked to these companies. Ideally, I would like
to specify a particular company, say Company X, and get a list of all those
individuals linked to that company, for examples, individuals A, B, C and D.
Note that the individuals linked to a company are all found in the same
field. As a next step, I would like to get a list of all the companies to
which individuals A, B, C and D are linked, in addition to company X. For
example, individual A could be linked to company Y and Z in addition to X.
Likewise, individual B could be linked to company M, N and O in addition to
company X.
I believe the first step is creating a cross-tab query. I have managed to
get a list of all the individuals in a column format with all their
associated companies in a row format. Is this the correct first step? If so,
what is the next type of query I should run? If not, is there a more elegant
solution?
Any help would be much appreciated. Thanks.