Skip to Main Content

APEX

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!

Returning values from a PL/SQL DA into Multiple Selects Lists Itens with Cascading Lov Parent

Igor SalaOct 27 2016 — edited Oct 31 2016

Oh, Huge title!

Ok folks, I'm having some trouble with Select List Item and DA.

Example:

     Dynamic Action: when change item P1_A is not null

     Execute PL/SQL:

          begin

          select b,c

              into :P1_B, :P1_C

             from table

           where field = :P1_A ;

          end;

------------------------------------------------------------------------------------------

The fields P1_A, P1_B , P1_C are Select List Itens;

The fields P1_B , P1_C contains Cascading Lov Parent Itens;

- P1_B Cascading Lov Parent Itens: P1_A

- P1_C Cascading Lov Parent Itens: P1_A, P1_B.

Ok... The problem is...

When the DA is triggered, values from query into DA is returned on Field P1_B, but P1_C isn't...

Now, if manually selected P1_A value, then P1_B is refreshed, so I select P1_B value, then P1_C is refreshed, so there are values on P1_C to select.

That process is not working when is used Dynamic Action pl/sql.

I really don't know if it's something to fix on Oracle Apex or it's my fault.

Thank you.

Comments

Mike Kutz

Hard to tell what is wrong.

Please recreate the problem on http://apex.oracle.com/

Make sure you create a Developer account so that you don't have to post your email to the spam bots.

We need

  workspace:

  developer account:

  password:

This way, we can see what you did and correct the code if necessary.

MK

InoL

select b,c

into :P1_B, :P1_C

values from query into DA is returned on Field P1_B, but P1_C isn't...

Did you specify both items as Page Items To Return?

pastedImage_18.png

Igor Sala

Hi InoL!

Yes, I did.

In my page, there is many others select lists that works with Dynamic Action returning datas from queries, only in this case is not working.

I'll try to recreate this case on apex.oracle.com.

Thank you

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 28 2016
Added on Oct 27 2016
3 comments
333 views