3 Replies Latest reply: Oct 1, 2013 5:15 AM by Dev. Musbah RSS

    FRM-40208: Form running in query-only mode. Cannot change database fields

    Dev. Musbah

      Hi All,

      I'm using this code in when-button-pressed trigger on a button:

       

      Declare

          Curr_form formmodule;

      begin

          Curr_form := find_form('mod1');

           if id_null(Curr_form) then

                call_form('mod1', no_hide, do_replace, no_query_only);

           else

                go_form('mod1');

           end if;

      end;

       

      in the 'mod1' form I'm trying to execute insert statement and then commit, But pressing the button gives me this error:

      FRM-40208: Form running in query-only mode. Cannot change database fields