Solved

Date field will not accept data for some users

Posted on 2011-09-12
6
252 Views
Last Modified: 2012-05-12
I've attached a screenshot from one of my users with an error message saying the value isn't valid for this field. It's a date field. They are typing the date in exactly as I do. I don't get the message, but they do. Using the date picker works fine, but I need to get this corrected. Thanks.
 image
0
Comment
Question by:dlogan7
  • 2
  • 2
  • 2
6 Comments
 
LVL 26

Accepted Solution

by:
Nick67 earned 500 total points
ID: 36526463
Check the regional settings for date and time for their computers
09/13/11 is a valid date if short time is mm/dd/yy BUT
If short time is dd/mm/yy then things are gonna go BANG!

If you use English exclusively, force 11-Sep-11 as the required format.
2011-09-11 is ISO 8601 compliant and will play nicely.

The format you show there is going to have monstrous problems being recognized as a date unless you've really squirreled around your date settings to make it acceptable.

0
 
LVL 75
ID: 36526469
What happens if you type in 09-11-2011 ... dashes instead of dots?

mx
0
 

Author Comment

by:dlogan7
ID: 36526747
OK, I removed the input mask and it seems to now be working. However, (this is really odd) if you exit the text box using the TAB key, the date disappears. The value is in the table, but not visible on the form. If I use my mouse to select the combo box, then the date is visible.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 26

Expert Comment

by:Nick67
ID: 36527087
You still have input mask/format grief then
0
 
LVL 75
ID: 36527097
"but not visible on the form
Yes, I've seen this MANY times over the years in combo boxes, and to a lesser degree in text boxes. It's basically some sort of 'display anomaly'.  When it happens, I have to spend useless trying stupid work arounds - whatever - to make it go away.  Now, this may be a variation of that with the A2010 date picker ... who knows!

mx
0
 

Author Comment

by:dlogan7
ID: 36528548
Ok, I hope this works. They will try it out later today.

I deleted the date field from the table, saved the table, then added the field back. Just trying to be sure that all input masks are gone.

On the form I have add a new unbound text box with the Medium date format. I also added the new date field text box but have it hidden. In the AfterUpdate event for the unbound text box I am setting the "real" date text box from the table equal to the unbound text box value.

Everything works great on my end. Even the disappearing date has "appeared". I will wait until they've had time to test this prior to closing the question. Thanks.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

786 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