Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

TLMDDBGrid with opEditing prevents new record insertion by code

If a TLMDDBGrid with opEditing in the Options is connected to a TFDMemTable thru a TDataSource, new records can't be inserted programmatically to the MemTable (i.e. MemTable.Append).

I've attached a simple demo program. You can see that unchecking opEditing will allow records to be inserted.
zip
zip
TEST LMDDBGrid record insert.zip
5K
Tagged:

Comments

Sign In or Register to comment.