Oracle Forms: Disable invoking buttton

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eeriehunk
    New Member
    • Sep 2007
    • 55

    Oracle Forms: Disable invoking buttton

    Hi All,
    I wrote a procedure to clear all my text fields and disable all buttons in my form. And I call this procedure in a button (insert button). when I presses the insert button, after all my button operations, all the text fields get cleared and all my buttons get disabled, except my insert button. I do have code to disable this button in my procedure as well. But for some reason, every other button gets disable except the button which invoked the procedure.
    Is there a way to disable the invoking button as well ?
    I did try using the clear_form functionality available in the Oracle Forms by default, but no use.
    Kindly suggest.
    Regards,
    Aj
  • amitpatel66
    Recognized Expert Top Contributor
    • Mar 2007
    • 2358

    #2
    Just try this:

    1. Make a procedure autonomous using PRAGMA AUTONOMOUS clause and check if it works

    else

    2. Cal another procedure from procedure 1 and make procedure 2 autonomous and disable the insert button in that procedure.

    Comment

    Working...