Dates in Report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a report in which I group by Salesman and then
by date(month).

When I run the report it looks great, except the grouping by date is in
alphabetical order and not Jan, Feb, Mar, etc.

How do I fix this?
 
What do you have in your grouping box for that option?

You should use the format option to pull out the long month name.
 
Thanks,

In the query it just says "Group by" in the field.

Where would I set the format option to long month?
In the table field definitions?

Thanks again.
 
In the REPORT, not the QUERY. You need to set the report's grouping and
sorting options.

You could do it in the query too, but you'd have to add a new column. It
makes more sense to use the sorting tools available in the report. You
could also then group by the month and put a group header or footer.
 
Probably making this alot more difficult than I should, but when I look at
the sort/grouping options in report for my DocDate field, it only gives me a
choice of
Ascending or Descending.
 
in the sorting and grouping box, replace your field with...

=Month([NameOfYourDateFieldHere])
 
Life will brobably get simpler (after it gets a bit more complex) if
you add a field MonthNum: in your query that returns the DatePart for
the month. That way, Jan is 1, Feb is 2, etc. Use that new field,
MonthNum, to sort/group in your report. You don't need to show the
value in your report, you can use the month's name in the report if
you choose.

HTH
 
Thanks guys,
I had the same problem and thought I would scroll through some other posts
for an anwer and here you are!
 

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


Back
Top