How to a get the date range to just display in months?

I have a date range that can to back several years. I want to have my report just display the months. How can I do this? Sorry, it may be a simple question, but I am very new to Access.
Casie RenegarAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gustav BrockCIOCommented:
You can use Format:

    YearMonth: Format([YourDateField], "yyyy-mm")

or just:

    Month: Format([YourDateField], "mm")

/gustav
Dale FyeOwner, Developing Solutions LLCCommented:
Can you give an example?

Are you looking for something like:  Feb-Jun 2014, Nov 2014 - Feb 2015, ...
Casie RenegarAuthor Commented:
So if my start date is  7/3/2014 and my end date is 12/15/2015. I would like my Access Report to display something like what my Excel table looks like, that I attached to this message.
help.xlsx
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Rey Obrero (Capricorn1)Commented:
just use

Format([DateField],"mmmm")
Casie RenegarAuthor Commented:
I have tried these options and I am getting an error message of Mismatch data type. Any other suggestions?
Eric ShermanAccountant/DeveloperCommented:
As Ray stated should work.  Please explain where you are using the Format([DateField], "mmmm")??

ET
Casie RenegarAuthor Commented:
In Design View of my Query: in the criteria area of the Date column.
Eric ShermanAccountant/DeveloperCommented:
That should not go on the criteria line ... please remove from there.  That needs to be on the field itself as shown below:

Just replace [YourFieldName] below with the actual field name.

Format([YourFieldName], "mmmm"): Reporting_Month

ET
Eric ShermanAccountant/DeveloperCommented:
Sorry ... had it backwards ... try this one ...


 Reporting_Month: Format([YourFieldName], "mmmm")

ET
Rey Obrero (Capricorn1)Commented:
to be clear, in the design view of your query

 Field   Reporting_Month: Format([YourFieldName], "mmmm")
Table

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.