hello,
i think i do not understand the meaning of the "condition" in the dynamic actions.
example: https://apex.oracle.com/pls/apex/f?p=21325:3:12372535888419::YES
help/help
workspace: AZ_
in the example:
DA " set3X" is executed on page load and sets P3_X to value "10".
On btn "Submit" click the jscript function sets P3_X to value "100". ( there is a needlessly complicated jscript call there left since i've been simplifying the actual code).
i expect that DA "DisableBtn" will be triggered and button "Cancel" will be disabled.
This is not happening. At the same time if i change the "DisableBtn" "when" "condition" to P2_X =100, button "Cancel" becomes disabled as expected.
What's the problem:
i need to enable/disable the button based on the return value of the SQL( null/not null) that takes, as a parameter, the value of the primary key from the report region of a page. In other words - depending what record user clicks on, i get either NULL or NOT null from SQL that gets executed with the passed value. And the result of the SQL dictates, if button should be enabled or not.
Please advise.