PC Review


Reply
Thread Tools Rate Thread

Date Format/ Input mask

 
 
=?Utf-8?B?Q0xTV0w=?=
Guest
Posts: n/a
 
      30th Aug 2006
I am trying to change the format/input mask of a field so that I type in the
4 digit year and it displays the 4 digit year.

Format: yyyy
Input mask: 0000

It doesn't work.
When I type in a 4 digit year it gives me an error message:
"The value ypu entered isn't valid for this field. For example, you have
entered text in a numeric field or a number that is larger than the field
size setting permits

--
-CLSWL
 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VuIFNoZXJpZGFu?=
Guest
Posts: n/a
 
      30th Aug 2006
A date/time data type can only hold a full date/time value, not just the
year. Change the field's data type to an Integer Number. You won't need to
format it, just use an input mask to ensure that 4 digits are entered.

Ken Sheridan
Stafford, England

"CLSWL" wrote:

> I am trying to change the format/input mask of a field so that I type in the
> 4 digit year and it displays the 4 digit year.
>
> Format: yyyy
> Input mask: 0000
>
> It doesn't work.
> When I type in a 4 digit year it gives me an error message:
> "The value ypu entered isn't valid for this field. For example, you have
> entered text in a numeric field or a number that is larger than the field
> size setting permits
>
> --
> -CLSWL


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date format -medium date input mask-French Canadian =?Utf-8?B?QmlsbEQ=?= Microsoft Access Forms 5 15th Jul 2007 01:22 PM
Date Format Input Mask =?Utf-8?B?QWxpYXM=?= Microsoft Access Form Coding 5 16th Apr 2006 06:13 AM
europe date format / input mask =?Utf-8?B?d2Fzc2VlbQ==?= Microsoft Access Forms 1 8th Nov 2005 06:21 AM
Date Format/Input Mask DD Microsoft Access Database Table Design 1 1st Jul 2004 06:38 PM
Date Format m/d/yy Need input mask for this, Please Gulf Coast Electric Microsoft Access Forms 0 12th Feb 2004 04:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:15 PM.