Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Enable a Push Button In The Form That Is Always Greyed Out?

jtomasicAug 21 2009 — edited Aug 24 2009
Greetings All,

I am trying to enable an existing "Return" Push Button(PB) which is always greyed out whenever the form is called in either an update or review mode. After some research, I found that this PB's functional property is "Enabled" (i.e. the enabled value = 'Yes'), and it is coded programatically set 'Off' in 30 places and 'On' in 2 places in the form that I inherit from my predecessor by using the following code:

SET_ITEM_ON_OR_OFF('BLK_UPDATE.PB_RETURN', <XXXXX>);

Where <XXXXX> could be either TRUE or FALSE. I've been spending a lot of time in trying to enable this "Return" PB (without modifying the existing programming code) by adding the 'SET_ITEM_ON_OR_OFF' built-in command to set the PB on in WHEN-BUTTON-PRESSED TRIGGER for the PB_RETURN and WHEN-NEW-FORM-INSTANCE Trigger, but all tries in vain. Could you please help me with the following question?

What is the easiest way to enable a PB that is set programmatically?
Is there something else I should know to enable a PB, in addition to what I have already mentioned above?

Thanks in advance,
Jinlan
--
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2009
Added on Aug 21 2009
6 comments
2,521 views