1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

How To Disable the Use Of Ctrl+s to save in oracle application Form

Discussion in 'Oracle Apps Technical' started by Akrishna, Nov 27, 2014.

  1. Akrishna

    Akrishna Active Member

    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    85
    Hi all,

    when we press the Ctrl+s then data is saved in table in oracle application form. But i don't want this facility.
    I want to disable this. how can i achieve this? It's urgent requirement so please help me...
     
  2. yowancristo

    yowancristo Forum Advisor

    Messages:
    103
    Likes Received:
    10
    Trophy Points:
    305
    Location:
    Bangalore
    Hi,

    This can be done by editing the file fmrweb.res located in $ORACLE_HOME/forms60/admin/resource/US/fmrweb.res

    Comment the line where "Ctrl+S" is mapped to "Commit" and bounce the apache server.

    However as a thoght - It is not a good practice to disable trivial key board short cuts like CTRL+S. Well mentioned in below link.

    http://radiofreetooting.blogspot.de/2007/01/why-ctrls-should-always-mean-save.html

    Regards,
    Yowan Cristo
     
    Akrishna likes this.
  3. Akrishna

    Akrishna Active Member

    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    85
    Hi Yowan,

    Thanks for reply. In payment form in oracle application payable module. When we save the data using Ctrl+s the payment happens automatically. i have disabled the Save symbol in toolbar which is in Yellow color. i have write code to enable and disable that runtime.
    but when i use Ctrl+s then data saved. I want to restrict it.
    Is there any other way?
    or Is it possible at runtime disable and enable on the basis of some condition.
     
  4. yowancristo

    yowancristo Forum Advisor

    Messages:
    103
    Likes Received:
    10
    Trophy Points:
    305
    Location:
    Bangalore
    Hi Krishna,

    Are you saying after commenting CTRL+S in fmrweb.res, only Payment form is behaving differently? And it allows to save when CTRL+S is pressed?

    Regards,
    Yowan Cristo
     
  5. Akrishna

    Akrishna Active Member

    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    85
    Hi Yowan,

    Yes i want to restrict in on payment form. After disabling Yellow icon on payment form.
    It is still working when using Ctrl+S so i dont want it.
    do u have any solution for this?.
     
  6. nilesh.dudhane

    nilesh.dudhane Active Member

    Messages:
    42
    Likes Received:
    2
    Trophy Points:
    135
    Location:
    India
    Hi Krishna,

    If you press CTRL-S (F10 with PC mapping) the KEY-COMMIT trigger is executed.
    Made the changes at KEY-COMMIT trigger level.

    begin
    exit_form ( no_validate );
    end;
    Thanks
    Nilesh
     
  7. yowancristo

    yowancristo Forum Advisor

    Messages:
    103
    Likes Received:
    10
    Trophy Points:
    305
    Location:
    Bangalore
    Hi Krishna,

    As mentioned earlier, have you tried this?