Key-Others Trigger (Please help!!!)

Hi everybody,
We are trying to restrict the end user from pressing some
'dangerous' keys, i.e clear block, execute query, even the DOWN
key causes us problems in some (1 record) blocks.
I know there is a way to do it using Oracle terminal but it
seems that we need greater degree of flexibility.
I certainly don't want to go to every <KEY> trigger on every
form (block) and put null; statements there. I know from Oracle
Docs that I'm supposed to use the key-others trigger..
So here are my questions:
1.Is there any way to find out which key has been pressed?
2.Can someone post a sample code of a KEY-OTHERS triggers?
3.Is there another way to achieve what we need?
Thanks is advance for any help.
Mike
null

You have two options.
1) Turn off all keys not wanted. This is what you said
you did not want to do.
2) Tun on all keys you want to use by creating a trigger for
each key. i.e.
trigger KEY-NXTREC trigger KEY-UP
NEXT_RECORD; UP;
Then turn off all keys not explicitly turned on.
trigger KEY-OTHERS
NULL;
ET (guest) wrote:
: Hope that it may be helpful.
: Answer :
: 1. In command line, add debug option so that you may know what
: trigger is executing.
: e.g. runform module= userid= debug=yes
: 2. Sample code for Key-others trigger
: null;
: Rgds,
: ET
: Mike Braude (guest) wrote:
: : Hi everybody,
: : We are trying to restrict the end user from pressing some
: : 'dangerous' keys, i.e clear block, execute query, even the
: DOWN
: : key causes us problems in some (1 record) blocks.
: : I know there is a way to do it using Oracle terminal but it
: : seems that we need greater degree of flexibility.
: : I certainly don't want to go to every <KEY> trigger on every
: : form (block) and put null; statements there. I know from
: Oracle
: : Docs that I'm supposed to use the key-others trigger..
: : So here are my questions:
: : 1.Is there any way to find out which key has been pressed?
: : 2.Can someone post a sample code of a KEY-OTHERS triggers?
: : 3.Is there another way to achieve what we need?
: : Thanks is advance for any help.
: : Mike
null

Similar Messages

  • KEY-OTHERS trigger.

    i am using 9i Developer Suite. I have a doubt as to how to select a KEY-OTHERS trigger at the form level as i have seen in the code of some forms given to me designed by other people. It does not show while creating a trigger.
    I hope, my question is clear. Please help in solving the doubt.
    Regards.

    Hello,
    KEY-OTHERS is used to intercept all keyboard event triggers you don't want to have effect.
    generally, you put a single NULL; instruction in it.
    Francois

  • Please Help!! I deleted the folder System en Macintosh HD and now when i on my mac it says Disk Error Press Any  Key To Restart Please HELP !!

    I deleted the folder System en Macintosh HD and now when i on my mac it says Disk Error Press Any  Key To Restart Please HELP !!

    Reinstall Mac OS X.
    (59450)

  • Use of KEY-OTHERS trigger

    Hi,
    I have a form that has numerous triggers defined at the form level. The form has a block that appears in a dialog window. The block should only have a small subset of triggers that are defined at the form level. I went ahead and created the key triggers necessary at the block level; I also defined a key-others trigger defined as null on the block to disable all other key triggers defined at the form level???. However it's not working, key triggers at the form level are still firing. Is the key-others trigger suppose to suppress triggers at a lower level or do I have to specifically deactivate all the key triggers at the block level?
    Thanks for you help in advance

    Key-Others at the block level will only override a form-level Key-Others. It will not override any other form-level triggers.
    You must either override all the form-level triggers at the block level, or add code to the beginning of each form-level trigger such as:
    If :System.trigger_block = 'MY_SPECIAL_BLOCK' then
      Return;  -- exit if in the special block
    End if;

  • Hi, how do I manage storage? Disk Utility says "other" is taking up most of my storage but I don't know where to find "other".  Please help!

    Hi, how do I manage storage? Disk Utility says “other” is taking up most of my storage but I don’t know where to find “other".  Please help!

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside a photo or iTunes library will corrupt the library. Changes to such a library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper 2>&-
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective 2>&-
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • My macbook Pro 13'' keys aren't working (The Esc, F1 to F12 and also the Eject Key doesn't work and so I'm unable to change the varied special features those keys offer.)  Please help what do i do? Because i've gone through all the support options :(

    My macbook Pro 13'' is giving me trouble
    The Esc, F1 to F12 and also the Eject Key doesn't work and so I'm unable to change the varied special features those keys offer.
    Please help what do i do?
    Bceause i've gone through all the support options

    Hi Kash_xo,
    If you are having an issue with some of the keys on your MacBook Pro's internal keyboard not functioning as expected, I would suggest that you troubleshoot using the steps in this article - 
    OS X Mavericks: If keys on your keyboard don’t work
    Thanks for using Apple Support Communities.
    Sincerely,
    Brett L 

  • I spend a long time to try to sync my itunes music on my ipod 160 GB Classic, but after waiting so long get a pop up message that itunes stop syncing because of error 46, some times giving me 58, 1469, and many other numbers, please help macbook pro

    i spend a long time to try to sync my itunes music on my ipod 160 GB Classic, but after waiting so long get a pop up message that itunes stop syncing because of error 46, some times giving me 58, 1469, and many other numbers, please help am using macbook pro

    That is precisely what my mid-2010 MacBoook Pro 13 was doing before the drive finally died after an Apple Genius rebooted it a dozen or so times. I have since read about the exact same thing happening to others, including a writer for The Atlantic magazine who had never had an issue with a Mac before. Do a back-up ASAP to make sure you don't lose anything and see about replacing the HDD. It is only about $140 for a new drive. The real issue is if you lose your data, too. So, make sure you do that back-up!

  • I tried updating my iPod touch 4th gen and now the screen is bright blue or flashing white and black lines.ive tried the whole home and power button thing but it only brings up the apple icons then goes back to the blue or other screen.please help?

    I tried updating my iPod touch 4th gen and now the screen is bright blue or flashing white and black lines.ive tried the whole home and power button thing but it only brings up the apple icons then goes back to the blue or other screen.please help?

    This has worked for some others.
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • I have ipad4 but i have a big problem in blutooth so ican not pir this with other devices       . please help me

    i have ipad4 but i have a big problem in blutooth so ican not pir this with other devices       . please help me

    Which other devices? Please note the list of supported Bluetooth protocols below.
    http://support.apple.com/kb/HT3647

  • Deleting Primary Key --- High Priority -- Please help us

    There is a custom defined table which had two primary keys and then moved the same to production. Since we got some requiremnent we added two more primary keys in the table in development server. We also activated the same in Development server. Now we need to delete the recently added two primary keys. It is a most important custom table. It is not allowing us to delete.
    It gives us error message about lot of dependencies and foreign key used in other tables.
    Please help us resolve this issue. FULL POINTS WILL BE AWARDED FOR THE SOLUTION. please help us resolve the same. Bottle neck situation.
    Regards,
    Siddhartha

    Hi Siddhartha,
    http://www.ncsu.edu/it/mirror/mysql/doc/maxdb/en/3c/384c4005a99523e10000000a1550b0/content.htm
    If you are not sorting by the primary key ( E.g. using the ORDER BY PRIMARY key ... Instead use ABAP SORT + DELETE ADJACENT DUPLICATES on an internal table, ...
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    This links will help you to solve your  problem
    Thanks
    sunil

  • System Disable Key 59628700. Please Help Me

    I can't remember my password for the life of me. Please Help Me!
    System Disable Key 59628700
    This question was solved.
    View Solution.

    Big try.
    46780326
    REO
    I must inform you that these services are not endorsed by HP, and that HP is not responsible for any damage that may arise to your system by using these services. Please be aware that you do this at your own risk.
    HP Expert Tester "Now testing HP Pavilion 15t i3-4030U Win8.1, 6GB RAM and 750GB HDD"
    Loaner Program”HP Split 13 x2 13r010dx i3-4012Y Win8.1, 4GB RAM and 500GB Hybrid HDD”
    Microsoft Registered Refurbisher
    Registered Microsoft Partner
    Apple Certified Macintosh Technician Certification in progress.

  • Two different photos appear in an Event, one photo is on top of the other.  Please help!

    I own a Mac Book Air OS X computer.  In one iPhoto Event I have 936 photos.  I noticed that two completely different photos in the Event are on top of each other.  "Landscape photo A" appears in the slideshow bar at the bottom of the Event, while "Face photo B" appears on the Viewing screen.  Two photos are stored one on top of the other.  The photos were taken on the same trip, but on different days.  I have tried to re-number or re-date all the photos in the Event, hoping that it would separate these photos.  I have also tried to duplicate photo "A" as it appears on the Viewing screen, but photo "B" still lies on top of photo "A" in the slideshow bar at the bottom of the Viewing screen.  Photo "B" also appears as an icon in the Event, while photo "A" doesn't appear at all, it continues to be unseen behind photo "B."
    Please help.  I have already lost several photos in the "Trash" while trying to resolve this problem.
    Thanks,
    d olsen

    What version of iphoto? Is OS X 10.9.5 as you state correct for you OS? where is your iphoto library located? (if on an external drive what forat is it and how is it connected to your Mac?)
    you can try Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - from the resulting first aid window repair permissions, rebuild thumbnails  and if necessary rebuild your database
    LN

  • Browser is freezing every few minutes with facebook and not on other browsers, please help! i love mozilla, can't switch :)

    hey guys,
    im a devoted user of mozilla but lately whenever i open my facebook (or other sites with lots of adds) it freezes for like a minute, every few minutes.
    I didn't have this problem when I used explorer nor when doing it on other computers.
    so i bet the problem is with my computer but I can't figure out what.. :(
    please help me! I hate all other browsers!
    p.s. u guys rock :)

    Are you playing Frontierville or Cityville or somesuch? Zynga games are HUGE resource hogs and if you try to pair them with Pandora or YouTube, things can go down really fast. You can also mitigate a little with an adblocker like [https://addons.mozilla.org/en-US/firefox/addon/1865/ adblock plus].
    From reports of this that I've been hearing about, Flash 10.2 (which was a recent update) has been particularly bad with Zynga games. You can try changing your display settings in Flash (right click and select settings and then the first tab) but I would just suggest using just one game at a time. Adobe may be releasing a version of Flash that's better soon, so this may clear up if you update Flash, also.

  • Cant open any videos in youtube and any other sites. please help

    i cant buffering or see any video content in the website such as you tube . in you tube it just says an error occured and refreshing didn't work. in some other sites the big panel for the video just didn't show up. its just blank. please help . i try installing adobe flash video and still not working

    Thanks its solved by upgrading my firefox to 28 thank you. All works fine now

  • The update and other problems PLEASE HELP!!!

    The ovi store on my phone asked me to download the newer version which I did, is there an update for ovistore on the computer because I haven't heard about it if there is one and it may solve the problems I have been having with it:
    1. I don't receive the messages when trying to get an app
    2. It wont let me down load apps when I connect my phone to the computer
    (also on the nokia website it told me to click the download and install button to get an app when plugged into the computer but I can't find it..Any ideas where it is???)
    please help i've had this problem since I first set up my account and its really bugging me now!!!!!!

    (Apologies for barging in Steve.)
    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? Are they also 80071A91, or some other number? (If they're another number, what number are you getting?)

Maybe you are looking for