Gul wrote:You cannot use COMMIT_FORM in post-change trigger. Because post-change only accept UN-restricted procedure. and commit is not.
I am using forms6i. I have three text fields FL1 ,*FL2* , FL3 in a form. Cursor passes from FL1 to FL2 and FL2 to FL3. I want when cursor transfers from FL1 to FL2 the form should be saved(commit). On FL1 i put COMMIT; in post-change.
But when I pressed Enter key on FL1 it gives following error message.
FRM-40735: illegal restricted procedure COMMIT in POST-CHANGE trigger
Can you help me doing this.
Hope this works..
/* Trigger KEY-NEXT-ITEM on every item and write sample code */ commit_form; next_item;