Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Table db Design > Access 2007: Su...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 12055 of 12659
Post > Topic >>

Access 2007: Sup****t for formatting long integers as date broken?

by Reimund <reimund.belz@[EMAIL PROTECTED] > Jul 29, 2008 at 05:33 AM

Ever since Access 2.0, i have been using fields of type long integer
as a subsitute for date fields, since I don't need the time part most
of the time. Setting the fields format property (or the format
property of a bound textbox) to "short date" not only showed the
stored number as a date, it was also used as an input mask: you could
only enter values that corresponded to valid dates as indicated by the
local windows settings. This was comparable to formatting Excel cells
as "date".

In Access 2007, this sup****t is halfway gone. It still works for
unbound text boxes (even displaying the date picker), but with text
boxes bound to a database field of type number or in a table view,
only the display part is correct. Data newly inputted is interpreted
as a plain number. Since the german date delimiter is the same as the
thousands separator, it took some time to figure out what is really
happening. For example, a date entered as "29.07.08" is interpreted as
ISO Date 2008-07-29 in Access 97-2003, but as the number 290708 in
Access 2007, which is then converted to ISO date 2695-05-12.

I could not find this change in behaviour do***ented anywhere. Am I
the only one experiencing this problem, does anybody know a solution
to this problem? Can it be solved at the form level? I really don't
want to change the type of hundreds of database fields, since this
would lead to a massive size increase and also pose integrity problems
as I wold have to make sure the time part is always "zeroed out"
before saving.

Thanks in advance
Reimund
 




 6 Posts in Topic:
Access 2007: Support for formatting long integers as date broken
Reimund <reimund.belz@  2008-07-29 05:33:09 
Re: Access 2007: Support for formatting long integers as date br
"Allen Browne"   2008-07-29 23:34:22 
Re: Access 2007: Support for formatting long integers as date br
"Steve" <non  2008-07-29 11:59:45 
Re: Access 2007: Support for formatting long integers as date br
"Allen Browne"   2008-07-30 08:10:15 
Re: Access 2007: Support for formatting long integers as date br
"Steve" <non  2008-07-29 21:09:45 
Re: Access 2007: Support for formatting long integers as date br
"Allen Browne"   2008-07-30 09:57:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:04:11 CST 2008.