[SOLVED] CLose modal form

I have a modal form to allow users to update a record. After update they need to press exit to leave the app and go back to the parent. What is the most easy way I can use to leave the modal form after an update? (i.e. in the onafterupdate event)

Have you tried sc_exit(sel);

Completely overlooked! Thanks!

scope of sc_exit() is onClick, so it is notpossible to use it on onAfterUpdate.

Look at posts date :wink: