This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

IDataBook.eventBeforeUpdated

Frequently asked questions about VisionX.

IDataBook.eventBeforeUpdated

Postby nobrega » Tue Mar 23, 2021 1:36 pm

Hi,

Is there any way of cancelling a save operation without throwing an exception on the event before updated / before inserted?

Best regards,
Nobrega
nobrega
 
Posts: 19
Joined: Tue Feb 11, 2020 6:40 pm

Re: IDataBook.eventBeforeUpdated

Postby nobrega » Tue Mar 23, 2021 2:00 pm

We also tried to use setManualSaveAndReload on the workscreen, but the RemoteDataBook gets saved automatically when we change row anyway.
nobrega
 
Posts: 19
Joined: Tue Feb 11, 2020 6:40 pm

Re: IDataBook.eventBeforeUpdated

Postby Support@SIB » Tue Mar 23, 2021 4:07 pm

What's the exact use-case?

Throwing a SilentAbortException is also an option to cancel things without showing an error message.
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm


Return to VisionX