Article View: borland.public.cppbuilder.database.multi-tier
Article #940Date format and Locate
From: Mark Vejvoda
Date: Mon, 18 Sep 2000 00:00
Date: Mon, 18 Sep 2000 00:00
8 lines
1089 bytes
1089 bytes
Ok I figured out filters, they use shortdateformat as their base to convert filter date values to underlying values for filtering internally, so I set shortdateformat to a valid format that StrToDate can handle like mm/dd/yyyy and voila it works on any regional setting change cause it uses my value at startup..... BUT what date format does Locate expect???? It seems to read the regional settings and NOT use shortdateformat..... HOW can i force Locate (for clientdatasets) to use a VALID date from my TDateTime variable so regional value changes don't affect my locate?
Technical Details
Message-ID:
<8q5ocj$5s13@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,349abdfad0b762f2,start X-Google-Attributes: gidfcd2b,public From: "Mark Vejvoda" <mvejvoda@total-care.com> Subject: Date format and Locate Date: 2000/09/18 Message-ID: <8q5ocj$5s13@bornews.borland.com> X-Deja-AN: 671313091 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.cppbuilder.database.multi-tier