I have two datasets bonded in a Master-Detail relationship. Is there any way to display the Detail's record count as a calculated field in the master dataset?
I already tried the following code on the master's oncalcfields event:
MasterTblDetailSumaryField.value := DetailTbl.RecordCount;
but it gives me the total record count of the detail dataset in all the records.
Any help would be appreciated. Thank You