Hello
I am working on transations table that logs staff appointments.
There can be three appointments (AP1, AP2, AP3) and termination.
My objective is to convert Staff Rows into columns e.g.
Staff Appointment1 Date1 Successful1
John AP1 12/01/2011 No
John AP2 12/02/2011 No
John AP3 15/02/2011 No
John Termination 16/02/2011 Yes
I need to convert to table like this
Staff Appointment1 Date1 Successful1 Appointment2 Date2 Successful2 Appointment3 Date3 Successful3 Termination
I am working on transations table that logs staff appointments.
There can be three appointments (AP1, AP2, AP3) and termination.
My objective is to convert Staff Rows into columns e.g.
Staff Appointment1 Date1 Successful1
John AP1 12/01/2011 No
John AP2 12/02/2011 No
John AP3 15/02/2011 No
John Termination 16/02/2011 Yes
I need to convert to table like this
Staff Appointment1 Date1 Successful1 Appointment2 Date2 Successful2 Appointment3 Date3 Successful3 Termination