Chart

G

Guest

Hi all,
I have a problem with my chart,i used the following code in its rowsource:
SELECT [Month2],Sum([Cases]) AS [Number of Cases] FROM [RMonthly] GROUP BY
[Month2];
But actually the months are put in alphabetical
order,February,January,March...ecc
Instead of January, February,March..ecc.
Can anybody help ?
 
G

Guest

Pietro said:
Hi all,
I have a problem with my chart,i used the following code in its rowsource:
SELECT [Month2],Sum([Cases]) AS [Number of Cases] FROM [RMonthly] GROUP BY
[Month2];
But actually the months are put in alphabetical
order,February,January,March...ecc
Instead of January, February,March..ecc.
Can anybody help ?

Pietro,
If the [Month2] data is being extracted from a date field, try returning the
serial value of the entire date first by using Int([NameOfYourDateField]) and
sorting on that.
Hope that helps.

Dave
 
G

Guest

I did not get you well,but anyway,it's a text box not field list..

Dave said:
Pietro said:
Hi all,
I have a problem with my chart,i used the following code in its rowsource:
SELECT [Month2],Sum([Cases]) AS [Number of Cases] FROM [RMonthly] GROUP BY
[Month2];
But actually the months are put in alphabetical
order,February,January,March...ecc
Instead of January, February,March..ecc.
Can anybody help ?

Pietro,
If the [Month2] data is being extracted from a date field, try returning the
serial value of the entire date first by using Int([NameOfYourDateField]) and
sorting on that.
Hope that helps.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Excel 2010 2
Summing for a report 2
Chart in time phase 3
Months query 4
Aggregate Function in a query 4
Months in Excel Chart 2
xlFillDefault 3
Column Heading Loop 2

Top