Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting by Month Only, Not Month and Year in a Report.

Status
Not open for further replies.

Kjonnnn

IS-IT--Management
Jul 14, 2000
1,145
US
Hello Access Geniuses.

I've searched the site and other place for a solution.

I have a database were I can create a report for just names and birth MONTHS.

I can easily get it to sort by MONTH, but its sorts by Month, then Year. I need to have all of a month's detail items grouped together regardless of the year. Specifically, this for birthdays.

For the section header I get =Format$([Birthdate],"mmmm yyyy",0,0)
This gives me MONTH, YEAR

If I change it to =Format$([Birthdate],"mmmm")
just the month is display, but it still sorted by month, then year, (i.e. I'd have multiple Januarys because of birthdays being is different years).

Also, in my query, I have a field that will convert the Birthdate to a month number. Then when creating the report using the Month Number, instead of the Birthdate, I just get numbers.

Any ideas? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top