Greetings,
I'm attempting to transpose a poorly designed table into a query but without much luck.
The table contains an ID field and 20 additional fields containing dates (Dt1 to Dt20).
ID[tab][tab][tab]Dt1[tab][tab][tab]Dt2[tab][tab][tab]Dt3[tab][tab][tab]Dt4[tab]
I need to tranpose the table to show a row for each Dt field. i.e.
Id[tab]Dt1
Id[tab]Dt2
Id[tab]Dt3
Id[tab]Dt4
How can this be achieved? I know it can be done by multiple single line queries and union statements but this seems inefficient.
Any help truly appreciated.
Thanks
I'm attempting to transpose a poorly designed table into a query but without much luck.
The table contains an ID field and 20 additional fields containing dates (Dt1 to Dt20).
ID[tab][tab][tab]Dt1[tab][tab][tab]Dt2[tab][tab][tab]Dt3[tab][tab][tab]Dt4[tab]
I need to tranpose the table to show a row for each Dt field. i.e.
Id[tab]Dt1
Id[tab]Dt2
Id[tab]Dt3
Id[tab]Dt4
How can this be achieved? I know it can be done by multiple single line queries and union statements but this seems inefficient.
Any help truly appreciated.
Thanks