Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Ctrl+S Key Pressed trigger

Started 1 month, 1 week ago by user10382814
Hi All, Can anyone tell me which is the trigger that fires when we Press the "Ctrl+S" Keys from the keyboard. and i need to disable "Ctrl+S" keys when i open my custom form. I am using Forms 6i. Thanks for your help. Thanks, Reddy
Site: www.oracle.com  www.oracle.com - site profile
Forum: Forms   Forms
 - forum profile
Total authors: 3 authors
Total thread posts: 16 posts
Thread activity: no new posts during last week
Domain info for: oracle.com

Other posts in this thread:

S@R@h replied 1 month, 1 week ago
hi try the following link. http://forums.oracle.com/forums/thread.jspa?messag eID=3818058&#3818058 if its Correct/Helpful please mark it thanks. sarah

S@R@h replied 1 month, 1 week ago
hi try this too. http://forums.oracle.com/forums/thread.jspa?messag eID=3824541&#3824541 sarah

Magoo replied 1 month, 1 week ago
Hi! If you press CTRL-S (F10 with PC mapping) the KEY-COMMIT trigger is executed. Simply create a KEY-COMMIT trigger like; begin bell; end; If you want to disable update/insert/delete at all - set the corresponding block properties to No or - call the form in query_only mode or - create a KEY-EXIT trigger like begin exit_form ( no_...

user10382814 replied 1 month, 1 week ago
Hi Sarah, I need to know which triger fires when i press "Ctrl+S"? Thanks Red

Magoo replied 1 month, 1 week ago
take a look above ...

S@R@h replied 1 month, 1 week ago
hi if u do not wanna use Ctrl+s then u may modify key map.Key-Commit trigger does the same. Key-commit trigger Commit_form; sarah Edited by: S@R@h on Nov 9, 2009 11:55 AM

user10382814 replied 1 month, 1 week ago
Hi Magoo, thanks for your message, here i am getting the problem with "Ctrl + S" keys. When i am closing the it is asking "Do you want to SAve....." , if i selcet "Yes" my validations are working, but if i press "Ctrl+S" my validations are not working... both are refereing to "KEY-COMMIT" triger do you have idea ? what could be the reason? ...

S@R@h replied 1 month, 1 week ago
hi use the following code. On-Message Trigger (Form Level) begin if abs ( message_code ) = 40400 then clear_message; bell; message ( message_text, no_acknowledge ); else message ( message_text ); end if ; end;

Magoo replied 1 month, 1 week ago
Hi! May show us your code of the key-commit and the key-exit trigger. How do you close your form mostly? With a when-window-closed trigger? What is the code there? @Sarah: exceptionally the user do not want to suppress a message, i think

S@R@h replied 1 month, 1 week ago
+When i am closing the it is asking "Do you want to SAve....." , if i selcet "Yes" my validations are working, but if i press "Ctrl+S" my validations are not working...+ both are refereing to "KEY-COMMIT" triger Magoo. but if he used that code i hope his problem will be solved because sometimes "Do you want to save".creates problem. sarah...

 

Top contributing authors

Name
Posts
S@R@h
7
user's latest post:
Ctrl+S Key Pressed trigger
Published (2009-11-10 11:04:00)
hi if your Problem is Solved please Mark it Correct/Helpful .Thanks. Sarah
Magoo
5
user's latest post:
Ctrl+S Key Pressed trigger
Published (2009-11-10 12:06:00)
Sarah...
user10382814
4
user's latest post:
Ctrl+S Key Pressed trigger
Published (2009-11-10 10:54:00)
Hi Magoo & Sarah, You are correct, some one added Exit_form(DO_COMMIT) on KEY-Commit trigger at the end, and I have some other validations in When-Window-Close trigger. Good catch Magoo... thanks alot. thanks Red

Related threads on "www.oracle.com":

Related threads on other sites:

Thread profile page for "Ctrl+S Key Pressed trigger" on http://www.oracle.com. This report page is a snippet summary view from a single thread "Ctrl+S Key Pressed trigger", located on the Message Board at http://www.oracle.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity