SQL Date format for ACCESS97 from BO4.1.4.

Our users enter the date dd/mm/yyyy in BO. Access interprets the date as mm/dd/yyyy.
Therefore a condition (date between “01/02/2000” and “29/02/2000”) actually runs as (date between “02/01/2000” and “29/02/2000”). Believe it or not but ACCESS97 doesn’t reverse the (to date) for some reason. If your condition is date between “13/02/2000” and “29/02/2000” it works fine. Has anyone come across this problem and fixed it. I do not want the users to enter the date mm/dd/yyyy. The advanced tab on the date object in BO has the format of #dd/mm/yyyy#. the .sbo has InputDateFormat as “DD/MM/YYYY”.


Listserv Archives (BOB member since 2002-06-25)

Stuart,

It may be useful to check your pc’s regional settings on the control panel. Set it to dd/MM/yyyy. Regional settings affects the way some applications display and sort dates so there may be knock-on effects if you don’t normally use this setting.

Worth a try.

Rgds

Graeme.

Graeme Cleland
BT Glasgow ISE Skill Centre
Tel: 0141 2208263
Email: Graeme.Cleland@bt.com


Listserv Archives (BOB member since 2002-06-25)