The FRM-41009: function key not allowed. Press % s for list of valid keys

Source: Internet
Author: User

Sometimes clear_block ('another Block') is removed in the trigger when-clear-block, and an error in the FRM-41009 is reported.

You can use the following method to ignore this error.

Even though you cannot suppress it, you can create an on-error trigger to intercept it and prevent from displaying:

Declare

Err_val number (5): = error_code;

MSG varchar2 (150)

: = Substr (''| error_type | '-' | to_char (err_val) | ':'

| Error_text, 1,150 );

Begin

If err_val = 41009 then

Null;

Else

Message (MSG );

Raise form_trigger_failure;

End if;

End;

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.