Gustav Brock
Gustav at cactus.dk
Fri Jul 11 04:25:01 CDT 2008
Hi Darren and Darryl No, you _will_ need to be more specific in your code. In SQL you must explicitly format date string expressions to the "reverse" US format, m/d/yyyy, or the ISO format, yyyy-mm-dd. Then set your regional settings of Windows as you like. /gustav >>> Darryl.Collins at coles.com.au 11-07-2008 09:48 >>> Darren, You might need to be more specific in your code and force the date to be what you want, esp if it is passing via the VBE for instance. MS are sloppy with dates in places and it often end up defaulting to the US date (mm-dd-yyyy) in the process. darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren D Sent: Friday, 11 July 2008 4:36 PM 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