C
CozmicOne
I am cleaning up a dbase that has single contacts, with a possible 6 contact
types, taken from a list of 27 contact types.
The current Contact table has fields like this:
Contact Name – Contact Type 1 - Contact Type 2 - Contact Type3 – etc…
which results in creating queries that require you to duplicate your
criteria in six Contact Types.
To make reporting this information easier, and to not waste space with empty
cells, I setup a dbase like this. I created two tables. The first table
“Contacts†has Contact ID and Contact Name. The second table “Types†has
contact ID and Contact Type. The two tables are joined together in a
one-to-many relationship. So the resulting data is
Contact ID | Contact Type
1 A
1 B
2 C
3 A
3 D
The problem is when reporting out the data the single Contact Type field can
create a very long report as each contact type creates a new line on the
report. Is there a way to list out the types horizontally on a report with
this type of setup?
i.e. A B C D instead of
A
B
C
D
Or to have multiple Contact Type fields on the report that reports all the
Contact Types for a contact? (Which resembles our current reports)
If not, what would be a better way to setup the tables?
(I apologize if this has been asked and resolved somewhere else. I wasn't
sure how to ask this question when conducting a search)
types, taken from a list of 27 contact types.
The current Contact table has fields like this:
Contact Name – Contact Type 1 - Contact Type 2 - Contact Type3 – etc…
which results in creating queries that require you to duplicate your
criteria in six Contact Types.
To make reporting this information easier, and to not waste space with empty
cells, I setup a dbase like this. I created two tables. The first table
“Contacts†has Contact ID and Contact Name. The second table “Types†has
contact ID and Contact Type. The two tables are joined together in a
one-to-many relationship. So the resulting data is
Contact ID | Contact Type
1 A
1 B
2 C
3 A
3 D
The problem is when reporting out the data the single Contact Type field can
create a very long report as each contact type creates a new line on the
report. Is there a way to list out the types horizontally on a report with
this type of setup?
i.e. A B C D instead of
A
B
C
D
Or to have multiple Contact Type fields on the report that reports all the
Contact Types for a contact? (Which resembles our current reports)
If not, what would be a better way to setup the tables?
(I apologize if this has been asked and resolved somewhere else. I wasn't
sure how to ask this question when conducting a search)