DTE Date Format Help needed

D

Dave Elliott

I have a field in my table called DTE, it is date field with a short date
format.
on my form i want the field to only show or allow a input date of month and
year
month being formatted as 08 for september and year as 04, not 2004???
08/04

Thanks,


Dave
 
J

John Vinson

I have a field in my table called DTE, it is date field with a short date
format.
on my form i want the field to only show or allow a input date of month and
year
month being formatted as 08 for september and year as 04, not 2004???
08/04

An Access Date/Time value is a date, a precise point in time.
September 2004 is not a date - it's thirty of them!

I would suggest using a Text field with an Input Mask of 00/00, or two
Integer fields for the month and year, instead. If you really want to
use a date/time field, set its Format property to mm/yy; you will need
to enter a full date (e.g. 9/1/04) but it will display as 09/04.

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

display form on a specific date 2
Dates 1
Date Formula 4
Changing a Medium Time 5
date default problem 5
Change from mm/dd/yy to yy/mm> 3
Converting Date to Julian 4
Format of Date/Time 1

Top