Solved

How format date field to show month and year only

Posted on 2014-03-14
4
7,690 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 50

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

726 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