sc_error_exit(URL, "Target") or (My_Application, "Target")
|
|
Interrupts the application execution, if there is error message generated through "sc_error_message" macro, displaying the error messages. If informed an URL or the name of an Application, an "OK" button is displayed, bellow the error messages to redirect the processing to the informed URL/Application.
The target parameter is opitional.
Ex. 1: Displays only the error messages. sc_error_exit();
Ex. 2: Display the error messages and the "OK" button to redirect to URL. sc_error_exit(http://www.mysite.com);
Ex. 3: Display the error messages and the "OK" button to redirect to Application, opening in another window. sc_error_exit(my_application, "_blank");
|
Macro Scope
|
Blank application
|
calendar application
|
chart application
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Tree menu
|
ReportPDF application
|
| allMacros
|
ajaxFieldonBlur ajaxFieldonChange ajaxFieldonClick ajaxFieldonFocus allMacros onAfterDelete onAfterInsert onAfterUpdate onBeforeDelete onBeforeInsert onBeforeUpdate onValidate onValidateFailure onValidateSuccess
|
allMacros
|
allMacros onFilterValidate
|
ajaxFieldonBlur ajaxFieldonChange ajaxFieldonClick ajaxFieldonFocus allMacros onAfterDelete onAfterDeleteAll onAfterInsert onAfterInsertAll onAfterUpdate onAfterUpdateAll onBeforeDelete onBeforeDeleteAll onBeforeInsert onBeforeInsertAll onBeforeUpdate onBeforeUpdateAll onNavigate onValidate onValidateFailure onValidateSuccess
|
ajaxFieldonBlur ajaxFieldonChange ajaxFieldonClick ajaxFieldonFocus allMacros onInit onLoadAll onRefresh onValidate onValidateFailure onValidateSuccess
|
allMacros
|
allMacros
|
allMacros
|
|