Hi,
does anyone have an idea of what went wrong?
I've a MasterDataSet(readonly) and a few DetailDataSets each of them modifiable.
I want to ask the user, who did some modifications on the detail records, if to post or not when leaving the master record (next, previous ...).
And not to ask, if the user explicitly presses something like a save or cancel button.
Therefore the DetailDataSet.OnBeforePostEvent seames to be the wrong choice.
I thought the MasterDatSet.OnBeforeScrollEvent should be the right solution.
Wrong - the DetailDataSet.Post obviously triggered implicitly by the MasterDatSet.Next before the MasterDatSet.OnBeforeScrollEvent is triggered.
Any solutions, hints, suggestions??
regards,
Anton
does anyone have an idea of what went wrong?
I've a MasterDataSet(readonly) and a few DetailDataSets each of them modifiable.
I want to ask the user, who did some modifications on the detail records, if to post or not when leaving the master record (next, previous ...).
And not to ask, if the user explicitly presses something like a save or cancel button.
Therefore the DetailDataSet.OnBeforePostEvent seames to be the wrong choice.
I thought the MasterDatSet.OnBeforeScrollEvent should be the right solution.
Wrong - the DetailDataSet.Post obviously triggered implicitly by the MasterDatSet.Next before the MasterDatSet.OnBeforeScrollEvent is triggered.
Any solutions, hints, suggestions??
regards,
Anton