If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Date Input Mask
I want to enter a date like 12/04. The imput mask gives me everything but
this. How do I set the Input for just a two digit month/year? Thanks! |
#2
|
|||
|
|||
On Wed, 5 Jan 2005 09:39:13 -0800, Sam
wrote: I want to enter a date like 12/04. The imput mask gives me everything but this. How do I set the Input for just a two digit month/year? Thanks! You don't. An Access Date/Time value is actually stored as a double float number, a count of days and fractions of a day (times) since midnight December 30, 1899. As such, any date/time value must correspond to a precise instant of time. December 2004 was not an instant (it was a *long* time for me... g) I'd suggest either using two Integer fields, not named Month or Year (reserved words) but something like ExpMo and ExpYr, and concatenate them for display; or use a Text field. John W. Vinson[MVP] |
#3
|
|||
|
|||
I appreciate your reply, although it was quite confusing. I entered an input
mask of 99/99 and received exactly what I wanted. Thanks! "John Vinson" wrote: On Wed, 5 Jan 2005 09:39:13 -0800, Sam wrote: I want to enter a date like 12/04. The imput mask gives me everything but this. How do I set the Input for just a two digit month/year? Thanks! You don't. An Access Date/Time value is actually stored as a double float number, a count of days and fractions of a day (times) since midnight December 30, 1899. As such, any date/time value must correspond to a precise instant of time. December 2004 was not an instant (it was a *long* time for me... g) I'd suggest either using two Integer fields, not named Month or Year (reserved words) but something like ExpMo and ExpYr, and concatenate them for display; or use a Text field. John W. Vinson[MVP] |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Date input mask question | pokdbz | New Users | 10 | January 4th, 2005 07:16 PM |
Combo Box with Input mask | MattC | Using Forms | 0 | December 9th, 2004 05:23 PM |
spaces input mask | Paul | Setting Up & Running Reports | 0 | November 8th, 2004 07:01 PM |
QDE (Quick Date Entry) | Norman Harker | Worksheet Functions | 37 | September 5th, 2004 01:24 AM |
How to use a default value within an input mask | Kathy | Database Design | 1 | September 3rd, 2004 06:35 PM |