cancel
Showing results for 
Search instead for 
Did you mean: 

Trapping on the "Add" message box

Former Member
0 Kudos

Hi,

I am trapping an event on the Add button of a document but before I add, I need to check something, but I need it to be after the following message box appears…

You cannot change this document after you have added it – continue?

and before the document is added to the database.

Using pVal.Action_Success as not true is too early and when it is true is too late.

Any help appreciated,

Robin

Accepted Solutions (1)

Accepted Solutions (1)

AdKerremans
Active Contributor
0 Kudos

Hi Robin,

What you want is not possible, you can olny catch before and after and not in the middle of SBO action.

Regards

Ad

Former Member
0 Kudos

Hi Ad,

Thanks for the reply.

I suppose I was thinking that when you confirm the action, by clicking 'Add', SBO has not begun it's actions. It seems crazy that I cannot trap here, as if the user clicks cancel, I need to change something on document row level.

Thanks,

Robin

Answers (0)