James

Well its a little more structured, I was thinking

Create TCollection
while not EOF
begin
  read binary data to record
  insert collection item and assign record data to it
end
....

Neven




----- Original Message -----
From: James Sugrue <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Thursday, 5 April 2001 15:30
Subject: RE: [DUG]: Clientdataset


> Neven,
> Looks sort of what I was after. This seems to only deal with Text Files
> however. The Flat Files are Binary data. Haven't had a major look at it
> though.
>
> Cheers
>
> Jim
>
> -----Original Message-----
> From: Neven MacEwan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 5 April 2001 15:06
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Clientdataset
>
>
> James
>
> There are prob quite a few 'in memory' datasets you could use
>
> I found this article interesting
> http://www.delphi3000.com/articles/article_1871.asp
>
> seemed a relatively simple solution (and could be altered to buffer a
single
> record)
>
> Neven
>
> ----- Original Message -----
> From: James Sugrue <[EMAIL PROTECTED]>
> To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> Sent: Thursday, 5 April 2001 14:41
> Subject: [DUG]: Clientdataset
>
>
> > G'day all,
> >
> > We have an app which sits on top of another Dos app. At the moment there
> is
> > two sets of data files, the dos apps data files and Our apps data files.
> The
> > contents of the files are identical, except that the Delphi apps are in
> > Paradox, whereas the Dos apps are a flat file format.
> >
> > Basically I want to eliminate the Paradox files, and just use the flat
> > files. I am considering deriving ClientDataSets to read the flat files
and
> > allow our app to stil use DBComponents etc. We don't need to write back
to
> > the flat files, just read from them.
> >
> > Are there any sites or articles that anyone knows of, that does
something
> > like the above. I have found a few, but they just use the LoadFromFile
> > method, which I am guessing will only work once the flat files have been
> > converted into the format the CDS can understand.
> >
> >
> > Cheers
> >
> > Jim
> >
> >
> >
> > CAUTION - This message may contain privileged and confidential
information
> intended only for the
> > use of the addressee(s) named above.  If you are not the intended
> recipient of this message you are
> > hereby notified that any use, dissemination, distribution or
reproduction
> of this message is prohibited.
> > If you have received this message in error please notify Progressive
> Enterprises Ltd. immediately via
> > email at [EMAIL PROTECTED]  Any views expressed in
> this message are those of the
> > individual sender and may not necessarily reflect the views of
Progressive
> Enterprises Ltd.
> >
> > This footnote also confirms that Progressive Enterprises Ltd. has swept
> this email message for the
> > presence of computer viruses.  This does not guarantee this message is
> virus free.
> >
>
> --------------------------------------------------------------------------
> -
> >     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"
> >
>
> --------------------------------------------------------------------------
-
>     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"
>
>
>
> CAUTION - This message may contain privileged and confidential information
intended only for the
> use of the addressee(s) named above.  If you are not the intended
recipient of this message you are
> hereby notified that any use, dissemination, distribution or reproduction
of this message is prohibited.
> If you have received this message in error please notify Progressive
Enterprises Ltd. immediately via
> email at [EMAIL PROTECTED]  Any views expressed in
this message are those of the
> individual sender and may not necessarily reflect the views of Progressive
Enterprises Ltd.
>
> This footnote also confirms that Progressive Enterprises Ltd. has swept
this email message for the
> presence of computer viruses.  This does not guarantee this message is
virus free.
>
> --------------------------------------------------------------------------
-
>     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"
>

---------------------------------------------------------------------------
    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"

Reply via email to