LocalMasterDetail position in detail dataset lost

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Ludek
Posts: 297
Joined: Thu 12 Oct 2006 09:34

LocalMasterDetail position in detail dataset lost

Post by Ludek » Tue 04 Dec 2018 12:28

Hi,
I'm having trouble with master/detail behavior in localmasterdetail = true setting. Everytime I change non-key(!) field in master dataset, I lose position in detail dataset - detail gets apparently refiltered (why?) and the detail dataset jumps back to first record.
Can I get rid of such unpleasant behavior?
Thanks, Ludek.

Stellar
Devart Team
Posts: 179
Joined: Tue 03 Oct 2017 11:00

Re: LocalMasterDetail position in detail dataset lost

Post by Stellar » Wed 05 Dec 2018 15:05

Thank you for the information. Before the SDAC version 8.0.5, Detail dataset is refreshed when Master dataset editing is started.
To investigate this behavior of SDAC, please compose a small sample demonstrating the issue and send it to us, including database objects creating scripts.
You can send the sample using the contact form at our site: devart.com/company/contactform.html

Post Reply