Master-Detail problem in DA

Hi,
I build the Master-Detail in two TDAMemDataTable. I got an error if I haven’t create the field by “Retrieve DataTable Schema” in detail table. If I created in detail table, the error is gone. Is it normal or bug?

Before you told me don’t create the fields that can protect the error if add/delete the field in table.

Hi,

m/d feature requires field(s) in detail table.
this is requirement of standard TDataset so it is as designed.

note: you can set m/d in runtime after detail table is initialized and fields were created.

Noted with thanks.