[AccessD] A2203: Date Format Issues

Darren D darren at activebilling.com.au
Thu Jul 17 20:08:09 CDT 2008


Thanks to all who responded

I have edited my regional settings and still it fails

I have had to capitulate and get the SQL built on the fly to have American date
formatting 

arrrrggghhh
 
Darren

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka
Sent: Saturday, 12 July 2008 2:09 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] A2203: Date Format Issues

Are you creating this SQL in code?  If so, use DateSerial to 'put' the
date into the SQL and you'll never have a problem.

Drew

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D
Sent: Friday, July 11, 2008 1:36 AM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] A2203: Date Format Issues

Hi Team

I have a new machine - SO maybe this date question is a regional setting
issue

 

Anyhow - I am trying to show all accounts created in a db since a
certain
date

When I debug the recordsource SQL that is supposed to 'feed' the form I
see

 

select * from tblAccount where DateCreated >= #4/07/2008# 

 

Excellent - Over here in Oz we want dd/mm/yyy date formatting

So to me this SQL will show me all the accounts created since the 4th
July
2008

But it does not

It ends up showing me all the accounts created since 7th April

 

Arrrgggghhhh

 

I have made all the neseccary changes to regional settings

 

Help please

 

Darren

 

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
The information contained in this transmission is intended only for the person
or entity to which it is addressed and may contain II-VI Proprietary and/or
II-VI Business Sensitive material. If you are not the intended recipient, please
contact the sender immediately and destroy the material in its entirety, whether
electronic or hard copy. You are notified that any review, retransmission,
copying, disclosure, dissemination, or other use of, or taking of any action in
reliance upon this information by persons or entities other than the intended
recipient is prohibited.


-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list