I have a situation wherein my data is stored in a table in the following format...
SOC PT Drug Method Count Date
--------------------------------------------
SOC1 PT1 Drug1 AE 7 01/01/2003
SOC1 PT1 Drug1 Syndrome 6 29/02/2003
SOC1 PT1 Drug1 PRR 4 01/01/2002
SOC1 PT1 Drug2 AE 6 01/01/2003
SOC1 PT1 Drug2 Syndrome 4 29/02/2003
SOC1 PT1 Drug2 PRR 3 01/01/2002
I want a report which will show the above details in the following format
SOC PT Drug AE Syndrome PRR
----------------------------------------------------
SOC1 PT1 Drug1 7 6 4
01/01/2003 29/02/2003 01/01/2002
SOC1 PT1 Drug2 6 4 3
01/01/2003 29/02/2003 01/01/2002
SOC PT Drug Method Count Date
--------------------------------------------
SOC1 PT1 Drug1 AE 7 01/01/2003
SOC1 PT1 Drug1 Syndrome 6 29/02/2003
SOC1 PT1 Drug1 PRR 4 01/01/2002
SOC1 PT1 Drug2 AE 6 01/01/2003
SOC1 PT1 Drug2 Syndrome 4 29/02/2003
SOC1 PT1 Drug2 PRR 3 01/01/2002
I want a report which will show the above details in the following format
SOC PT Drug AE Syndrome PRR
----------------------------------------------------
SOC1 PT1 Drug1 7 6 4
01/01/2003 29/02/2003 01/01/2002
SOC1 PT1 Drug2 6 4 3
01/01/2003 29/02/2003 01/01/2002