473,769 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access reverts to default date format

1 New Member
Hi everybody

I have a field with a custom date format tied to it mm/dd/yy.
If I enter an invalid value of 13/10/05, access automatically resets the value to 10/05/13 and accepts the input as valid.
This appears to be a bug with Access.

Has anyone ever come across this issue before?

Cheers
Paul Gagnon
Nov 29 '06 #1
1 2477
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hi everybody

I have a field with a custom date format tied to it mm/dd/yy.
If I enter an invalid value of 13/10/05, access automatically resets the value to 10/05/13 and accepts the input as valid.
This appears to be a bug with Access.

Has anyone ever come across this issue before?

Cheers
Paul Gagnon
Paul

You will get a better response if this is posted in the Access forum.

http://www.thescripts.com/forum/forum142.html

However, if you impose a Format function on the date control like ...

Format([TextboxName], "mm/dd/yyyy") it should throw a fault that you can capture.

If you have any further questions on this, please post in the Access forum.
Nov 29 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
7830
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 the issue. I hope I've included all relevant information. On a form, I have a DateTimePicker with the following
13
4135
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#, 'blah'); and then save the query, close it, and then reopen by clicking the design button so it opens in sql view. The sql has changed to:
8
2076
by: William Bradley | last post by:
First of all I have been working with Access 97 and this morning the owner of the business phoned me to inform me that he had updated to Access 2000 and parts of my forms would not work anymore. On my form I have a field "Expiry Date".When I put the following into the AfterUpdate field, it adds 183 days to the current date, and displays it in the "Expiry Date" field. Me.ExpDate = DateAdd("d", 183, Me.Date)
4
2543
by: JMCN | last post by:
object invalid or no longer set - confusion of the recordset in access 2003. i am currently converting from access 97 to access 2003. majority of the codes converted over perfectly fine, though my recordset did not. i read from pasts posts that some references will not convert. so i tried to change the dao 3.51 reference to dao 3.6 in access 97. then i imported all of the objects into an access 2003. it did not work. so my second...
5
2937
by: m_t_hill | last post by:
Running MS Access 2000 MS Windows XP Pro This has caused me a lot of hair loss in the last few days so would appreciate any help. I am running code to append/update a local access database from a remote MS SQL database. The method of determining which records to append is primarily using the last date an update was carried out; I appreciate that there is probably a better way of doing this but time
2
1126
by: reidarT | last post by:
I use a DateTimePicker to get a date. I want to add this date into an access table. I use a variable like Dim dteDato As Date = Format(Me.txtDato.Value, "Short date") In the sql-statement I use INSERT INTO tblToDo ( Dato, Bruker, Utfort, Melding, MeldingFra ) " & _ "SELECT " & dteDato & ", '" & strSaksbehandler & "', -1, '" & strMelding & "', 'Fra Peres'", con) ....
2
11515
by: syntego | last post by:
We commonly use triggers to log changes to our main tables to historical log tables. In the trigger, we create a concatenated string of the old values by casting them as follows: CAST(O.MYDATE AS CHAR(30)) When directly updating date fields in the main table, the logged value gets saved in the format YYYY-MM-DD as expected.
0
2103
by: astersathya | last post by:
Date Format in MS Access using a query Hi I want to alter the existing column's format using the alter query. The issue I am facing is I want to set the default date format of an existing "Date_Edit" column in "DD/MM/YYYY" format irrespective of Date format of the Operating System. It would also be really appreciable if any body provides me the details regarding altering the attributes of an existing column. Thanks and Regards Sathya
3
8650
by: colmkav | last post by:
Hi, can someone tell me how I change the settings in my Access 97 to default to English dates rather than US dates? I notice all my dates like 1/5/2007 is being treated as 5th Jan 2007 rather than 1 May 2007. Colm
0
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10038
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9987
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8867
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7404
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5294
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3558
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.