![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Fri, Jun 30 2006 9:23 AM | Permanent Link |
Mike Mayer | Hi,
I use code below in OnDataSetPost Event to ask user if he/she want to abort post. The main problem is that abort function abort not only post but also other action which is executed together with post. For example I use 3rd party Grid, if I move selection from one record to another, Grid automatically execute post function. If user abort post using code below, grid record selection code also aborted. Any suggestion? if UserConfirmPostData = false then begin abort; end; Regards, Mike |
Fri, Jun 30 2006 9:52 AM | Permanent Link |
"Ralf Mimoun" | Mike Mayer wrote:
> Hi, > > I use code below in OnDataSetPost Event to ask user if he/she want to > abort post. > The main problem is that abort function abort not only post but also > other action which is executed together with post. Try .Cancel. Ralf |
Fri, Jun 30 2006 4:26 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Mike,
<< I use code below in OnDataSetPost Event to ask user if he/she want to abort post. The main problem is that abort function abort not only post but also other action which is executed together with post. >> I assume that you mean the TDataSet.BeforePost event ? << For example I use 3rd party Grid, if I move selection from one record to another, Grid automatically execute post function. If user abort post using code below, grid record selection code also aborted. >> Unfortunately, the only way around that is to sub-class the TDBISAMTable or TDBISAMQuery component and override the CheckBrowseMode method to implement the custom handling. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Monday, July 7, 2025 at 06:35 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |