Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-02

TMemDataset + TDbGrid = bug?

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

denisgolovan

Hi, all!

I'm trying to make work TDbGrid with TMemDataset, but fail all the time. The problem - grid shows record properly, but behaves like readonly - no edits apply. Controls let edits as usual (as in Delphi :) ), I able to enter the value, step to next _FIELD_ of the current record, but when moving to the next record, all changes disappear. Besides - when editing using grid, no dataset change events trigger (before/afterpost)

It seems the problem is in TMemdataset, 'cause TSqlite3Dataset works normally.

P.S. FPC 2.3.1 svn r10339, LCL r14195, Lazarus svn (yesterday revision).

Regards,
Denis

Reply by email

denisgolovan

Hi, all!

I'm trying to make work TDbGrid with TMemDataset, but fail all the time. The problem - grid shows record properly, but behaves like readonly - no edits apply. Controls let edits as usual (as in Delphi :) ), I able to enter the value, step to next _FIELD_ of the current record, but when moving to the next record, all changes disappear. Besides - when editing using grid, no dataset change events trigger (before/afterpost)

It seems the problem is in TMemdataset, 'cause TSqlite3Dataset works normally.

P.S. FPC 2.3.1 svn r10339, LCL r14195, Lazarus svn (yesterday revision).

Regards,
Denis

Regards, Denis Golovan aka MageSlayer

Reply by email