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!

Dynamic action - ajax error no data found

PoojaD-OracleJun 18 2013 — edited Jun 19 2013

Hi,

I have a Select-List (single value selection) page item P2_Item1, and I have a display only page item P2_Item2.

I want the value of display only item2 should change based on the selection of item1. For this, I have created a Dynamic Action with Action=’Set Value’ and Set Type=’SQL Statement’.

On change of P2_Item1, I am executing a select query like

Select col1 from t1 where col2=:P2_Item1;

It's a Simple query, and it returns data if I run from SQL developer, substituting the same value that I select for item1(select list).

Page items to submit= P2_Item1

And Affected Item= P2_Item2

Event Scope=Dynamic

Now, when I run the page, when I select a value from select list for item 1, I see an error popup with below error:

AJAX call returned server error ORA-01403: no data found for Set Value

On Clicking Ok button on error pop-up, I see Item2 is getting populated with correct value.

I get the same error even if i hard code the where clause condition value.

Select col1 from t1 where col2='val1';

Any idea how to fix this?

Note: I am using Apex 4.2

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2013
Added on Jun 18 2013
1 comment
667 views