C
Cydney
I have a table of Workman Codes which are assigned to individual employees.
Some employees have 1 WC assigned to them, others have up to 4. I've created
a crosstab query that gives me one row with individual name and then the WC's
assigned to that person. However, there are about 40 different WC's so they
are all listed horizontally. I would like to change this to 4 columns of WC's
listed by each name. Like this:
WC1 WC2 WC3 WC4
Joe 234 798 989 992
Bill 589 683 992
Bob 567 778
Sue 798
Right now I'm seeing:
Joe 234 798 989
992
Bill 589 683
992
Bob 567 778
Sue 798
....etc. in other words... all spread out horizontally when what I want to
see is 4 columns of codes.
Do I need to create an append to a table programmatically running through
the list of records? I'm hoping I can do it within a query..
--
Thank you, cs
~~~~~~~~~~~~~~~~~~~~~~~~
"What lies behind us and what lies before us are tiny matters compared to
what lies within us."
~ Ralph Waldo Emerson
Some employees have 1 WC assigned to them, others have up to 4. I've created
a crosstab query that gives me one row with individual name and then the WC's
assigned to that person. However, there are about 40 different WC's so they
are all listed horizontally. I would like to change this to 4 columns of WC's
listed by each name. Like this:
WC1 WC2 WC3 WC4
Joe 234 798 989 992
Bill 589 683 992
Bob 567 778
Sue 798
Right now I'm seeing:
Joe 234 798 989
992
Bill 589 683
992
Bob 567 778
Sue 798
....etc. in other words... all spread out horizontally when what I want to
see is 4 columns of codes.
Do I need to create an append to a table programmatically running through
the list of records? I'm hoping I can do it within a query..
--
Thank you, cs
~~~~~~~~~~~~~~~~~~~~~~~~
"What lies behind us and what lies before us are tiny matters compared to
what lies within us."
~ Ralph Waldo Emerson