Solved

Date field will not accept data for some users

Posted on 2011-09-12
6
253 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
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.

 
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

860 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