avoid "no changes to save" error in module

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amr
    New Member
    • Mar 2007
    • 20

    avoid "no changes to save" error in module

    i want from you to make a button in form using scott.emp insert value in another
    table for example mytable without showing any message error,
    no person can make this
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    dear amr

    u question is not at all clear

    if u really want some reply, post your question in a correct format so that others can also understand.
    please avoid the type of heading u have used for your question.

    Comment

    • vijaydiwakar
      Contributor
      • Feb 2007
      • 579

      #3
      Originally posted by amr
      i want from you to make a button in form using scott.emp insert value in another
      table for example mytable without showing any message error,
      no person can make this
      Dear I think ur Q language is more difficult to understand than the actual problem itself
      make it easy to understand other
      bbye and take care

      Comment

      • amr
        New Member
        • Mar 2007
        • 20

        #4
        i made data block in one module ,this data block is connected to emp table
        and i made button in this module ,and i create table its name is temp
        and i write when_button_pre ssed

        delete temp;
        insert into temp(t1)
        values('a');
        commit;

        when i run the module and press this button the error message appeare to me
        no changes to save,i want to avoid this,plz help me,
        and i am so sorry i am not english man

        Comment

        • parag100
          New Member
          • Feb 2007
          • 13

          #5
          Originally posted by amr
          i made data block in one module ,this data block is connected to emp table
          and i made button in this module ,and i create table its name is temp
          and i write when_button_pre ssed

          delete temp;
          insert into temp(t1)
          values('a');
          commit;

          when i run the module and press this button the error message appeare to me
          no changes to save,i want to avoid this,plz help me,
          and i am so sorry i am not english man



          u write in sql editor
          when_button_pre ssed

          delete temp;
          insert into temp(t1)
          values('a');
          commit_form;

          let see it should run

          Comment

          • masdi2t
            New Member
            • Jul 2006
            • 37

            #6
            Originally posted by amr
            i made data block in one module ,this data block is connected to emp table
            and i made button in this module ,and i create table its name is temp
            and i write when_button_pre ssed

            delete temp;
            insert into temp(t1)
            values('a');
            commit;

            when i run the module and press this button the error message appeare to me
            no changes to save,i want to avoid this,plz help me,
            and i am so sorry i am not english man
            can you show us thus error message. and could you tell us more clearly about what tool you working with

            Comment

            • UshaS
              New Member
              • May 2007
              • 1

              #7
              Change your code as mentioned below. It will prohibit displaying of message "No changes to save" on the screen.

              delete temp;
              insert into temp(t1)
              values('a');
              :SYSTEM.MESSAGE _LEVEL := '5';
              commit;
              :SYSTEM.MESSAGE _LEVEL := '0';

              Originally posted by amr
              i made data block in one module ,this data block is connected to emp table
              and i made button in this module ,and i create table its name is temp
              and i write when_button_pre ssed

              delete temp;
              insert into temp(t1)
              values('a');
              commit;

              when i run the module and press this button the error message appeare to me
              no changes to save,i want to avoid this,plz help me,
              and i am so sorry i am not english man

              Comment

              Working...