Solved

Display a date as mm/dd without the year

Posted on 2014-02-11
3
286 Views
Last Modified: 2014-02-11
In a bound text box formatted as Date/Time, I want to display only the month and day, single digit where applicable.  e.g.  5/9   12/31    1/1   10/4    6/28
What is the format string, and do I set the format in the table, or in the form control?
0
Comment
Question by:David_W_R
3 Comments
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero earned 400 total points
ID: 39851448
In the format property of the textbox  place   m/d

no need to set the format in the table, it should remain as Date/Time data type
0
 
LVL 34

Accepted Solution

by:
PatHartman earned 100 total points
ID: 39851453
Open the property sheet for the control.  On the Format tab, set the Format property to:

m/d

If you click into the field, the full value will show.
0
 

Author Closing Comment

by:David_W_R
ID: 39851532
Thanks for the quick replies... initial response by Rey Obrero and added info by PatHartman
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now