Subject | Re: [IBO] How to revert from post to edit state in the BEFOREPOST event? |
---|---|
Author | Helen Borrie |
Post date | 2007-01-16T21:20:47Z |
At 06:57 AM 17/01/2007, you wrote:
returns the result. If the user selects to return to editing, call
SysUtils.Abort.
but, if it means you want the user to confirm a decision to abort
then have your routine do this before returning the result to the
BeforePost handler.
Helen
>Dear ListHave the BeforePost call a function that displays the dialog box and
>
>
>
>Any pointers on how to exit the post event, in the beforepost, without
>issuing the raise EIB_dataseterror.createwithsender(self '');
>
>
>
>The raise EIB_dataseterror.createwithsender(self ''); works, but I want to
>give the client an option, then continue with post or else return to edit
>state, and continue editing current record.
>
>
>
>The raise EIB. returns to edit state, but without options.
>
>
>
>I wish to bring up a dialog box with options, then either exit to edit
>state, or post as is.
returns the result. If the user selects to return to editing, call
SysUtils.Abort.
>I can call raise EIB., if the person selects to cancel post, but then clientI don't understand whether this is an observation or a requirement
>required to confirm a second time.
but, if it means you want the user to confirm a decision to abort
then have your routine do this before returning the result to the
BeforePost handler.
Helen