Darryl Collins
Darryl.Collins at coles.com.au
Fri Jul 11 02:48:32 CDT 2008
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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material.