This content has been marked as final. Show 3 replies
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;
Mark correct/helpful to help others to get right answer(s).*
Oh thanks Hamid. I've got my problem solved.
Did you check what happens when you use the mouse to navigate to the next field? It won't save then!