Using latest version of ODAC (5.55.1.22) and Delphi for development.
2 Tables are linked over Master-Detail-Relationship. The Relationship is set with MasterFields, Detailfields and MasterSource.
Everytime i change a Field (any Field) in the master-dataset the detail-dataset is refreshed. If i change 5 fields 5 times a refresh is called.
This means also for each field which is filled in the event OnNewRecord of the master-dataset a refresh of the Detail is done.
This reduces the performance enormous, especially you have many records in the detail-dataset.
I think it's only necessary to refresh the detail-dataset if the masterfield is changed. Can you fix this:?:
TIA
Master/Detail and OnNewRecord
-
- Posts: 75
- Joined: Tue 04 Jan 2005 10:26