Link detailentity to masterentitiy OnNewRecord

Hello Jon, do this:




procedure TfrmIssues.dsetIssueNewRecord(DataSet: TDataSet);
begin
  Dataset.EntityFieldByName('studentid').AsObject := tblStudent.Current<TTblIssue>;
end;