473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Access Date Format Input

Hi,

We have an Access Application which works fine for most of the users.
But there is one user who has the date input problem.

When he enter a date field from a form, i.e. 09/03/2004 (Sept. 3,
2004), the value always gets flipped into 03/09/2004(Mar 9, 2004) as
soon as the cursor leaves that date field.
When he enters 09/24/2004, the value doesn't get flipped.
My discovery is that any value in between '/' under 12 will be flipped.

The format for the field is Short Date. The sample for it is
'6/19/1994'.
The regional short date format setting from Control Panel is M/d/yyyy,
Date separator is '/'.
MS Access version is 2002 SP3 and it's running on Windows XP.
Any insight on this? It drives me crazy!

Thanks

Nov 13 '05 #1
4 7479
You're sure about the short date format on his machine? That's really the
only thing that's make sense.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

<rz****@allstate.ca> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi,

We have an Access Application which works fine for most of the users.
But there is one user who has the date input problem.

When he enter a date field from a form, i.e. 09/03/2004 (Sept. 3,
2004), the value always gets flipped into 03/09/2004(Mar 9, 2004) as
soon as the cursor leaves that date field.
When he enters 09/24/2004, the value doesn't get flipped.
My discovery is that any value in between '/' under 12 will be flipped.

The format for the field is Short Date. The sample for it is
'6/19/1994'.
The regional short date format setting from Control Panel is M/d/yyyy,
Date separator is '/'.
MS Access version is 2002 SP3 and it's running on Windows XP.
Any insight on this? It drives me crazy!

Thanks

Nov 13 '05 #2
I have seen this before on a server running ASP code. In this case I
went right through the registry looking at the Control Panel /
International settings. You need to be sure that every instance has
the country ID and the date formatting set the same.
This kind of thing is a lot more common for us Brits!

Phil

Nov 13 '05 #3
Sorry to reply a bit late.

The problem is not related to the registry since I check every entry
under International settings from registry.

The client machine is a regular desktop not a server. All what I did is
to open the table in design view and go through the date format again
which read the way as the registry stores.

I went back to the program and found that every date field is working
without flipping.

Don't know the reason yet. Is there Access local setting overriding the
system setting somehow?

Anyway I got it fixed eventually.

Thanks

RS200Phil wrote:
I have seen this before on a server running ASP code. In this case I
went right through the registry looking at the Control Panel /
International settings. You need to be sure that every instance has
the country ID and the date formatting set the same.
This kind of thing is a lot more common for us Brits!

Phil


Nov 13 '05 #4
Access has a Format property, yes -- and it overrides the system when it is
specified.
--
MichKa [MS]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Microsoft Windows International Division

This posting is provided "AS IS" with
no warranties, and confers no rights.

<rz****@allstate.ca> wrote in message
news:11*********************@l41g2000cwc.googlegro ups.com...
Sorry to reply a bit late.

The problem is not related to the registry since I check every entry
under International settings from registry.

The client machine is a regular desktop not a server. All what I did is
to open the table in design view and go through the date format again
which read the way as the registry stores.

I went back to the program and found that every date field is working
without flipping.

Don't know the reason yet. Is there Access local setting overriding the
system setting somehow?

Anyway I got it fixed eventually.

Thanks

RS200Phil wrote:
I have seen this before on a server running ASP code. In this case I
went right through the registry looking at the Control Panel /
International settings. You need to be sure that every instance has
the country ID and the date formatting set the same.
This kind of thing is a lot more common for us Brits!

Phil

Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $...
3
by: Jay | last post by:
I previously posted this question under Visual Basic newsgroup, but was advised to re-post here. I'm hoping someone can help me solve an issue I'm having with VB.Net and Access 2000. Here's...
4
by: Richard Hollenbeck | last post by:
I'm trying to write some code that will convert any of the most popular standard date formats twice in to something like "dd Mmm yyyy" (i.e. 08 Jan 1908) and compare the first with the second and...
14
by: Sean C. | last post by:
Helpful folks, Most of my previous experience with DB2 was on s390 mainframe systems and the optimizer on this platform always seemed very predictable and consistent. Since moving to a WinNT/UDB...
13
by: Peter James | last post by:
Access 97 If I select New on the Query tab of the db window, and go staight to sql view and type in the following for example: INSERT INTO tblMyTable ( dtDate, txtAny) VALUES (#2003-09-03#,...
9
by: Edward S | last post by:
I budget for a Project in an Excel sheet as illustrated below. The months below are usually a 2 year period i.e. 24 months, though it could be over 24 months depending upon a Project. I then...
1
by: abcabcabc | last post by:
I write an application which can let user define own date format to input, How to convert the date string to date value with end-user defined date format? Example, User Defined Date Format as...
6
by: NH | last post by:
I want to allow users to enter dates in a text box in either the US "MM dd yy" format or the UK "dd MM yy" format. But how can I validate these dates? All the date functions e.g. ISdate,...
1
by: saddist | last post by:
Hello, I've been working on access 2000 for few days. I made some forms with textfields where you can type date. Those textfields had input mask set for short date 99/99/0000. Now software have...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.