What is a method of specifying a date in a filter string for a ClientDataset
that is independent of the local ShortDateFormat ?
Obviously 'DateField = ''' + DateToStr(TargetDate) + '''' does not work.
Nor does 'DateField = ' + FloatToStr(TargetDate).
Is there a date format that can be used safely?
eg 'DateField = ''' + FormatDateTime('YYYYMMDD', TargetDate) + ''''
TIA
Stephen
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"