Darren DICK
darrend at nimble.com.au
Thu May 18 16:58:17 CDT 2006
Hi Chester Assume your Date Field is called 'SomeDateField (I'm an Aussie so we order our dates as Date/Month/Year) In Access... Format(Me.SomeDAteField, "dd/mm/yyyy) In SQL convert (char(10), SomeTableName.SomeDateField, 103) AS 'SomeDate' Hope this helps Have a great day Darren ------------------------------ T: 0424 696 433 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Friday, 19 May 2006 7:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Convert SQL Server Date/Time to Date I have an access database linked to an SQL server table. SQL server stores a time with the date. I want to extract only the date part when using this field in a query. I know I have done it before but can someone refresh my memory. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com