Solved

Date field will not accept data for some users

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

 
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-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now