Example: nca_set_exception
In the following example, nca_set_exception calls the user-defined function that closes the Error window (close).
int close() {
nca_popup_message_press("Error", "OK");
}
Action1() {
nca_connect_server("199.203.78.170", "9000"/*version=110*/,"module=e:\\appsnca\\fnd\\7.5\\forms\\us\\fndscsgn
userid=applsyspub/pub@vision fndnam=apps record=names");
nca_set_exception("Error", close);
nca_set_window("Oracle Applications")
nca_edit_set("FNDSCSGN.SIGNON.USERNAME.0", "OPERATIONS");
nca_obj_type("FNDSCSGN.SIGNON.USERNAME.0",'\t',0);
....
return 0;
}