Hi,
I'm using Crystal 2008 off an Oracle database and looking to take data currently displayed in rows and show them in individual columns in a group header/footer.
So my data currently looks like;
Col 1 Col 2
Joe Bloggs Rugby
Joe Bloggs Football
Joe Bloggs Cricket
Joe Bloggs Hockey
Fred Smith Volleyball
Fred Smith Futsal
Fred Smith Rugby
Jane Stevens Netball
Jane Stevens Football
I'd like it to display;
Col 1 Col2 Col3 Col4 Col5
Joe Bloggs Rugby Football Cricket Hockey
Fred Smith Volleyball Futsal Rugby [NULL]
Jane Stevens Netball Football [NULL] [Null]
I initially tried a cross tab with the test data which worked ok, but on the live database there are 400k people and there will typically be between 2 and 3 columns per person.
Having a total mental block now on how best to get it done, thats lead me to group them by person as a variable so they display;
Col 1 Col 2
Joe Bloggs Rugby, Football, Cricket, Hockey
Then I was going to try and split them out using an array but can't get it quite right!
Any suggestion most welcome.
Thanks.
I'm using Crystal 2008 off an Oracle database and looking to take data currently displayed in rows and show them in individual columns in a group header/footer.
So my data currently looks like;
Col 1 Col 2
Joe Bloggs Rugby
Joe Bloggs Football
Joe Bloggs Cricket
Joe Bloggs Hockey
Fred Smith Volleyball
Fred Smith Futsal
Fred Smith Rugby
Jane Stevens Netball
Jane Stevens Football
I'd like it to display;
Col 1 Col2 Col3 Col4 Col5
Joe Bloggs Rugby Football Cricket Hockey
Fred Smith Volleyball Futsal Rugby [NULL]
Jane Stevens Netball Football [NULL] [Null]
I initially tried a cross tab with the test data which worked ok, but on the live database there are 400k people and there will typically be between 2 and 3 columns per person.
Having a total mental block now on how best to get it done, thats lead me to group them by person as a variable so they display;
Col 1 Col 2
Joe Bloggs Rugby, Football, Cricket, Hockey
Then I was going to try and split them out using an array but can't get it quite right!
Any suggestion most welcome.
Thanks.