Solved

Date field will not accept data for some users

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

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

680 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