HELP!!!!!!!!!!!!!!!!!!!!!!
I have been stuck with this for a few days now. (One of those IT contracts which all of a sudden turn nasty - "Oh, we have this database!"
Thanks to Dan-Cat I solved the other problem with the database.
This one is probably really simple but my brain now hurts.
Here is the SQL
TRANSFORM Count([All Accident Chart query].[Report Number]) AS [CountOfReport Number]
SELECT [All Accident Chart query].Month
FROM [All Accident Chart query]
GROUP BY [All Accident Chart query].Month
PIVOT [All Accident Chart query].Year;
Basically I am producing a graph from the abovce sql. All works fine except that I can't get the months to display chronologically (Jan Feb Mar Apr etc etc).
This is due to the fact that they come from a table with two fields in, ID & Month. The month is just a text field.
Is there a way that i can sort the months chronolgically without changing the whole structure of the database?
I have been stuck with this for a few days now. (One of those IT contracts which all of a sudden turn nasty - "Oh, we have this database!"
Thanks to Dan-Cat I solved the other problem with the database.
This one is probably really simple but my brain now hurts.
Here is the SQL
TRANSFORM Count([All Accident Chart query].[Report Number]) AS [CountOfReport Number]
SELECT [All Accident Chart query].Month
FROM [All Accident Chart query]
GROUP BY [All Accident Chart query].Month
PIVOT [All Accident Chart query].Year;
Basically I am producing a graph from the abovce sql. All works fine except that I can't get the months to display chronologically (Jan Feb Mar Apr etc etc).
This is due to the fact that they come from a table with two fields in, ID & Month. The month is just a text field.
Is there a way that i can sort the months chronolgically without changing the whole structure of the database?