J
Jeff H
I have a crosstab query client activities with the activity type as the value.
The crosstab is based on the following Table of open client
activities(sample data):
Recipient ID;Activity ID;Activity Type;Start Date;Planned Hours;Actual
Wages;Status;Ordinal
011005556823;A/P-0044661;756;12-Mar-09;18; ;Open;1
011005556823;A/P-0044662;755;12-Mar-09;2; ;Open;2
011005556823;A/P-0044663;757;12-Mar-09;10; ;Open;3
000000029718;A/P-0064856;754;07-Jul-09;30; ;Open;1
000715913950;A/P-0052960;757;04-May-09;10; ;Open;1
000715913950;A/P-0052961;755;04-May-09;9; ;Open;2
NOTE: The ordinal values for any client are variable, i.e. any client may
have any number of open activities.
The results of the crosstab:
Recipient ID;1;2;3
011005556823;756;755;757
000000029718;754
000715913950;757;755
I need an additional row heading concatenating the activity types.
Recipient ID;Open Activity Types
011005556823;756-755-757
000000029718;754
000715913950;757-755
Thanks.
The crosstab is based on the following Table of open client
activities(sample data):
Recipient ID;Activity ID;Activity Type;Start Date;Planned Hours;Actual
Wages;Status;Ordinal
011005556823;A/P-0044661;756;12-Mar-09;18; ;Open;1
011005556823;A/P-0044662;755;12-Mar-09;2; ;Open;2
011005556823;A/P-0044663;757;12-Mar-09;10; ;Open;3
000000029718;A/P-0064856;754;07-Jul-09;30; ;Open;1
000715913950;A/P-0052960;757;04-May-09;10; ;Open;1
000715913950;A/P-0052961;755;04-May-09;9; ;Open;2
NOTE: The ordinal values for any client are variable, i.e. any client may
have any number of open activities.
The results of the crosstab:
Recipient ID;1;2;3
011005556823;756;755;757
000000029718;754
000715913950;757;755
I need an additional row heading concatenating the activity types.
Recipient ID;Open Activity Types
011005556823;756-755-757
000000029718;754
000715913950;757-755
Thanks.