Related Datasets loose place when enter Edit state.

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
btrewern
Expert Boarder
Expert Boarder
Posts: 193
Joined: 06.10.2005, 18:51

Related Datasets loose place when enter Edit state.

Post by btrewern »

If you have a Master->Detail relationship using the Datasource property, when the master Dataset is put into Edit mode the detail dataset looses it's place.

I've had a look at the source and hopefully the attached fixes this problem.

See the TZAbstractRODataset.RefreshParams procedure.

Regards,

Ben
You do not have the required permissions to view the files attached to this post.
btrewern
Expert Boarder
Expert Boarder
Posts: 193
Joined: 06.10.2005, 18:51

Post by btrewern »

Sorry got carried away last night. The above messes lots of other things up. I'll look at this again and see if I can come up with something else.

Ben
Post Reply