I have a new program constraint and I now have 2 tables opened in the child form.
I put both tables into edit mode, and then when I close the form I get "not in edit mode" when returning to the calling program. PS I do not move from the currently selected records.
Code: Select all
procedure TfMain.dbgMasterDblClick(Sender: TObject);
begin
   fMembers.ShowModal;
Error ------------> end;Code: Select all
procedure TfMembers.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  dm.tblMaster.Post;
  dm.tblMembersMast.Post;
  dm.tblMaster.Edit;
  dm.tblMembersMast.Edit;
 end;