If what you want is to edit in-memory data inside a DBGrid without having to
have a database table, I recall trying this once with a stand-alone
TClientDataSet. You can write Delphi code to create all the required TFields
and then edit it in a DBGrid. Once finished, you can traverse and read the
records from the TClientDataSet and do whatever you need to. This is
actually using the TClientDataSet as an in-memory table. You may also want
to search the Delphi Informat web site since I think they had an article on
this about a year or two ago.
Since TClientDataSet is part of the Midas component suite, I'm not sure what
the licensing issue would be if you use it stand-alone without the
provider - I'd imagine it would be free though...
HTH
Xander
----- Original Message -----
From: Neven MacEwan <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Friday, February 11, 2000 9:39 AM
Subject: [DUG]: TCollection as Dataset
> Hiya all
>
> I was thinking that it would not be too difficult to use a TCollection as
a
> Dataset
> (Then I could edit the collection with a DBGrid et al)
>
> Has anyone tried/used/written a component to do this
>
> TIA
>
> Neven
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz