Forms 4.5: Using 'commit;' in a trigger.

From: Andy Hardy <aph_at_ahardy.demon.co.uk>
Date: Mon, 13 Mar 2000 16:11:19 +0000
Message-ID: <OwEROWAnMRz4EwSY_at_ahardy.demon.co.uk>


In article <38CCFFF0.5BE2D07D_at_mail.burton-college.ac.uk>, Martyn Dissington <mdiss2bu_at_mail.burton-college.ac.uk> writes
>
>I would like to use a when-button-pressed trigger to insert a line into
>a table. When the trigger is getting to the line 'Commit;' the user is
>shown the message 'FRM-40401: No changes to save.' as there have been no
>changes to the current block.
>
>But if i take out 'Commit;' the line that is inserted does not get
>saved. How do i saved this insert without doing a commit_form;
>

Have a look at :system.message_level. Set it to greater than '5 before you do your commit.

Andy

-- 
Andy Hardy. PGP key available on request
===============================================================
Received on Mon Mar 13 2000 - 17:11:19 CET

Original text of this message