Howdy, Stranger!

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

In this Discussion

Share Me

  • Please share this topic with your friends. Click any of the icons below:
  • Twitter
  • facebook
  • reddit
  • email

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.
TEST LMDDBGrid record


Sign In or Register to comment.