Re: [Lazarus] How can I use TMemDataset

2009-01-06 Thread Joost van der Sluis
Op dinsdag 06-01-2009 om 07:43 uur [tijdzone +0100], schreef Gabor Boros: > The result is same with CreateTable and without CreateTable. I've found the problem and fixed it in trunk. It was again a general issue, not only for TMemDataset. Thanks for the help. Joost. _

Re: [Lazarus] How can I use TMemDataset

2009-01-05 Thread Gabor Boros
The result is same with CreateTable and without CreateTable. Gabor Joost van der Sluis írta: > My guess is that you also have to remove CreateTable? I'll look into it. > > Joost. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazar

Re: [Lazarus] How can I use TMemDataset

2009-01-05 Thread Joost van der Sluis
Op maandag 05-01-2009 om 17:59 uur [tijdzone +0100], schreef Gabor Boros: > Under test case creation indentified the Append problem. > I used Edit; after Append; and when removed the Edit; the record > inserted properly to the DataSet. Ok, that was a bug for all datasets. It's fixed in trunk no

Re: [Lazarus] How can I use TMemDataset

2009-01-05 Thread Gabor Boros
Under test case creation indentified the Append problem. I used Edit; after Append; and when removed the Edit; the record inserted properly to the DataSet. Below example works. But if put the MemDataset to the form set name to DSet add a field with the object inspector set name to NAME, set type

Re: [Lazarus] How can I use TMemDataset

2009-01-05 Thread Joost van der Sluis
Op maandag 05-01-2009 om 16:50 uur [tijdzone +0100], schreef Gabor Boros: > Provide an example for what? I don't understand you. An example application which uses TMemDataset and apply/post/etc that does not work. Joost. ___ Lazarus mailing list Laza

Re: [Lazarus] How can I use TMemDataset

2009-01-05 Thread Gabor Boros
Provide an example for what? I don't understand you. Gabor Joost van der Sluis írta: > I don't know how the Lazarus editor works, but for the rest, can you > provide an example? ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus

Re: [Lazarus] How can I use TMemDataset

2009-01-05 Thread Joost van der Sluis
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

[Lazarus] How can I use TMemDataset

2009-01-05 Thread Gabor Boros
Hi, 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 A