I need to enter and view dates in a field by month and year only. How can I type in and see, for example, 03/04?
Thanks
I need to enter and view dates in a field by month and year only. How can I type in and see, for example, 03/04?
Thanks

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
Access, or rather Windows, won't allow you to enter a date that way. With MDY as standard date order, 01/03 will be interpreted as the 3rd of January of this year, i.e. 01/03/3004, not as January 2003.
One way to get around it is to enter the date in the form Mar-04; if you set the Format property to mm/yy, it will be displayed as 03/04.
Another way is to use an unbound text box on a form, and populate the date field in the After Update event of the text box:
Private Sub txtDateEntry_AfterUpdate
Me.DateField = DateValue("01/" & Me.txtDateEntry)
End Sub