Solved

How format date field to show month and year only

Posted on 2014-03-14
4
8,087 Views
Last Modified: 2014-03-15
I have a date field in a table and then on a form.  But we want the field to display only the month and year.

Like:  06/2014 for example.

How can I do that?
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39929219
format([DateField],"mm/yyyy")
0
 

Author Comment

by:SteveL13
ID: 39929253
Where do I put that?  P pasted it in the format line in the field properties and it turned out like:  "for"m"at([Pur"ch\as\ed"ate],mm/yyyy)"
0
 

Author Comment

by:SteveL13
ID: 39929684
Thoughts?
0
 
LVL 51

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 39930986
Don't use the Format function, just set the Format property of the textbox in the form.

Currently, it probably is set to Standard. Change that to: mm/yyyy

/gustav
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question