Op maandag 05-01-2009 om 14:54 uur [tijdzone +0100], schreef Gabor Boros: > I want to use an in memory dataset and found TMemDataset. > But not working very well. If defined the fields in Object Incpector the > whole thing unusable. Appended records with AppendRecord or with > Append/Edit/Post not inserted into dataset. If define fields at run-time > with FieldDefs.Add Append/Edit/Post working but AppendRecord not and > Append/Edit/Post is just working on first try. Tried with FPC 2.2.2 and > actual Lazarus SVN.
For a working AppendRecord (for all TDatasets) you need a recent fpc svn version (2.2.3 or later) I don't know how the Lazarus editor works, but for the rest, can you provide an example? > Anybody using TMemDateset? If you use a recent fpc from svn you can alo use TBufDataset. It works the same like TMemDataset but it's used as basic for a few other datasets and is used more. (You can compare it to Delphi's TClientDataset) Joost. _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
