Home » Developer & Programmer » Forms » Disable F10 in oracle forms
Disable F10 in oracle forms [message #682004] Fri, 25 September 2020 02:50 Go to next message
Helping_hand
Messages: 2
Registered: September 2020
Junior Member
Hi, Can anyone tell me how to disable F10 in Oracle Forms. F9 used for opening LOV, but F10 save the form. I want to disable it. Please help

Re: Disable F10 in oracle forms [message #682015 is a reply to message #682004] Fri, 25 September 2020 16:10 Go to previous messageGo to next message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Find the FMRWEB.RES file on the IAS. It is the key definition file for webforms and contains lines such as
83   : 2 : "F10"         : 36 : "Commit"
If you manage to find it, comment that line (precede it by a # character:
# 83   : 2 : "F10"         : 36 : "Commit"
Another option is to "disable" the KEY-COMMIT trigger (as it seems that F10 is mapped to it). How? Create a KEY-COMMIT trigger and put this into it:
null;
This will disable all keys that you used to commit (not only F10).
Re: Disable F10 in oracle forms [message #682045 is a reply to message #682015] Wed, 30 September 2020 07:14 Go to previous messageGo to next message
Helping_hand
Messages: 2
Registered: September 2020
Junior Member
Dear Littlefoot, Thanks for your reply..
I am using Oracle forms 6i, and i could not find the file named FMRWEB.RES in my orant folder.. Please Guide Thanks
Re: Disable F10 in oracle forms [message #682046 is a reply to message #682045] Wed, 30 September 2020 07:52 Go to previous message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
That's because there's no such a file in your version.

F10 maps to KEY-COMMIT. If you want to disable commit itself, then create a KEY-COMMIT form-level trigger and put
null;
in there.
Previous Topic: problem with master detail
Next Topic: List Ittem not showing complete text
Goto Forum:
  


Current Time: Thu Mar 28 18:51:14 CDT 2024