Update Event in client for master/detail?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
polsol
Posts: 71
Joined: Sun 20 May 2007 13:29
Contact:

Update Event in client for master/detail?

Post by polsol » Wed 29 Mar 2017 08:12

I need to know when the master record has changed so that I can perform some calculations based on the 'updated' detail table but can't seem to find an event that's triggered when the detail table is 'refreshed' when the master is changed. Sort of like an 'OnDetailTableUpdated' or 'OnMasterTableRecordChange' event.
Suggestions?

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: Update Event in client for master/detail?

Post by azyk » Tue 04 Apr 2017 10:30

To solve the issue use the AfterUpdateExecute event handler in master dataset:
https://www.devart.com/unidac/docs/?dev ... xecute.htm

Post Reply