> DateFormat(CreateODBCDate(#form.DepartureDateTxt#),'dd/mm/yyyy')
>
> Seems to do it ;)
Yes, but that is effectively not an ODBC date you are passing to Access,
which will can cause confusion with American date formats, e.g. 4-9-2004 can
be construed as 9 April instead of 4 September.
You may well also have to redo your query if you want to move your
datasource to something like SQL Server.
With your original code you should remove the quotes from around the
ODBCDates so you have
SET Tour_dates.departuredates = #Departure_Date#
, Tour_dates.returndates = #Return_Date#
HTH
paddy
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]