Article View: comp.lang.pascal.delphi.misc
Article #344Re: CreateDataSet - doesn't create the file (D7)
From: Michal Borsuk
Date: Wed, 13 Aug 2003 07:24
Date: Wed, 13 Aug 2003 07:24
25 lines
1940 bytes
1940 bytes
Michal Borsuk wrote: > > Hello. > > I have this problem with ClientDataSet in Delphi 7. I want the program > to create the file (cds.FileName), but it fails. Here's the line > > if not FileExists (cds.FileName) then cds.CreateDataSet; Fogrot to add something. If the file is .cds, then the condition "if not FileExists (cds.FileName) " is true, so the "cds.CreateDataSet" is executed. If the file is xml, then even the condition doesn't "catch" it, the file is not present, but "cds.CreateDataSet" isn't invoked. Weird. Was xml available in D6? LMB -- Michal Borsuk www.sitefinder.pl
Technical Details
Message-ID:
<3F39E79B.8A4146DB@SiteFinder.pl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed.hanau.net!news-fra1.dfn.de!news.man.poznan.pl!topaz.icpnet.pl!not-for-mailReferences:
<3F39E1C0.75180348@SiteFinder.pl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8e31,6ba568c19f0b57d9 X-Google-Attributes: gidf8e31,public X-Google-Thread: f973d,6ba568c19f0b57d9 X-Google-Attributes: gidf973d,public X-Google-Thread: 10baee,6ba568c19f0b57d9 X-Google-Attributes: gid10baee,public X-Google-ArrivalTime: 2003-08-13 00:22:44 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed.hanau.net!news-fra1.dfn.de!news.man.poznan.pl!topaz.icpnet.pl!not-for-mail From: Michal Borsuk <MichalBorsuk@SiteFinder.pl> Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.students,alt.lang.delphi Subject: Re: CreateDataSet - doesn't create the file (D7) Date: Wed, 13 Aug 2003 09:24:11 +0200 Organization: SiteFinder - find logins and passwords to FTP's Lines: 25 Message-ID: <3F39E79B.8A4146DB@SiteFinder.pl> References: <3F39E1C0.75180348@SiteFinder.pl> NNTP-Posting-Host: c24-228.icpnet.pl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Trace: topaz.icpnet.pl 1060759364 29126 62.21.24.228 (13 Aug 2003 07:22:44 GMT) X-Complaints-To: chris@icpnet.pl NNTP-Posting-Date: Wed, 13 Aug 2003 07:22:44 +0000 (UTC) X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,pl,fr