I have the following data.
Date Period U PC G V
04/12/2004 12:15:00 AM 2 2 0 NOV
04/12/2004 12:15:00 AM 3 3 0 MMT
04/12/2004 12:15:00 AM 18 19 0 VGT
04/12/2004 12:45:00 AM 1 1 0 NOV
04/12/2004 12:45:00 AM 1 1 0 SDG
04/12/2004 12:45:00 AM 1 1 0 SED
04/12/2004 12:45:00 AM 6 6 0 MMT
04/12/2004 12:45:00 AM 24 25 0 VGT
04/12/2004 1:15:00 AM 1 1 0 MMT
04/12/2004 1:15:00 AM 1 1 0 SDG
04/12/2004 1:15:00 AM 2 2 0 NOV
04/12/2004 1:15:00 AM 18 19 0 VGT
What I am trying to do, is present the data in a linear format, so that only 1 date and time is presented.
date time U,PC,G,V,U,PC,G,V,U,PC,G,V etc..
date (next) time etc.
(next) date (next) time etc.
Not a great example, but if you copy and paste to notepad you will get a better idea.
Date Period U PC G V U PC G V U PC G V U PC G V U PC G V
04/12/2004 12:15:00 AM 2 2 0 NOV 3 3 0 MMT 18 19 0 VGT
04/12/2004 12:45:00 AM 1 1 0 NOV 6 6 0 MMT 24 25 0 VGT 1 1 0 SDG 1 1 0 SED
04/12/2004 1:15:00 AM 2 2 0 NOV 1 1 0 MMT 18 19 0 VGT 1 1 0 SDG
I have tried a series of sub queries, and then joining all the sub queries (on date, time and V) on something that would have to be considered a summary query, with great success.
I am looking for something that will not require me to recreate the query everytime V changes.
Any ideas?
Thanks
Paul
Date Period U PC G V
04/12/2004 12:15:00 AM 2 2 0 NOV
04/12/2004 12:15:00 AM 3 3 0 MMT
04/12/2004 12:15:00 AM 18 19 0 VGT
04/12/2004 12:45:00 AM 1 1 0 NOV
04/12/2004 12:45:00 AM 1 1 0 SDG
04/12/2004 12:45:00 AM 1 1 0 SED
04/12/2004 12:45:00 AM 6 6 0 MMT
04/12/2004 12:45:00 AM 24 25 0 VGT
04/12/2004 1:15:00 AM 1 1 0 MMT
04/12/2004 1:15:00 AM 1 1 0 SDG
04/12/2004 1:15:00 AM 2 2 0 NOV
04/12/2004 1:15:00 AM 18 19 0 VGT
What I am trying to do, is present the data in a linear format, so that only 1 date and time is presented.
date time U,PC,G,V,U,PC,G,V,U,PC,G,V etc..
date (next) time etc.
(next) date (next) time etc.
Not a great example, but if you copy and paste to notepad you will get a better idea.
Date Period U PC G V U PC G V U PC G V U PC G V U PC G V
04/12/2004 12:15:00 AM 2 2 0 NOV 3 3 0 MMT 18 19 0 VGT
04/12/2004 12:45:00 AM 1 1 0 NOV 6 6 0 MMT 24 25 0 VGT 1 1 0 SDG 1 1 0 SED
04/12/2004 1:15:00 AM 2 2 0 NOV 1 1 0 MMT 18 19 0 VGT 1 1 0 SDG
I have tried a series of sub queries, and then joining all the sub queries (on date, time and V) on something that would have to be considered a summary query, with great success.
I am looking for something that will not require me to recreate the query everytime V changes.
Any ideas?
Thanks
Paul