Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Forms 5.0 - Calling one trigger from another
In article <7prt5k$9li$1_at_nnrp1.deja.com>, <newbie22_at_my-deja.com> wrote:
>Hi,
>
>I am learing Oracle Forms 5.0 and am I
>am trying to do what I can do in other
>GUI front ends.
>
>I have created a form with two buttons,
>both in a control data block. The when_button_pressed
>trigger of the first button sends a message.
>
>From the second push button,
>I want to call the trigger of the FIRST button.
>
>This is easily done in Visual Basic.
>How can I do this in forms? Is it possible?
Create a procedure in the form, and call it from both when-button-pressed triggers. You should always do common processing in a procedure.
Steve Cosner
![]() |
![]() |