?
Solved

Date field will not accept data for some users

Posted on 2011-09-12
6
Medium Priority
?
261 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:Dale Logan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 26

Accepted Solution

by:
Nick67 earned 2000 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:Dale Logan
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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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:Dale Logan
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

752 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