Skip to content
Advertisement

Adding a condition to desplay a list of values in Oracle Apex

I need help with putting a condition on a List Of Values in Oracle apex. So I have 2 tables:

and

The list of values displays v.BROJ_VEZ but returns v.ID_VEZ. The LOV is displayed in the form for the table BRODICE. I want the LOV to display only the v.BROJ_VEZ (returning v.ID_VEZ) where v.MAX_DULJINA > b.DULJINA_BRODICE. How do I do that ?. Is that even possible as a where clause in the LOV editor or do I need to make a dynamic action for it as the condition must be met only after my user wrote something in the form filed for b.DULJINA_BRODICE.

I’m 99% sure no one will understand what I want but I tried.

Advertisement

Answer

Presume this is page P1. Duljina brodice is then entered into P1_DULJINA_BRODICE item. Vez LoV would then reference page item as

In order for it to properly work, scroll a little bit down (below the LoV query) and you’ll see the Cascading list of values set of properties. Put P1_DULJINA_BRODICE into Parent Item(s) property.

(If query referenced some more page items, you’d name them all in “Parent Item(s)”, comma-separated).

That should do it; you don’t need dynamic action.

Sretan put i mirno more!

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement