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!

Region query gets no data found

blue72TAOct 25 2010 — edited Oct 27 2010
Hello All,

I have a region that is of type "SQL Query". Also in this region is an "Apply Updates" button. There is a page validation that checks for a value in a shuttle which fires when "Apply Updates" is pressed. Sometimes when the button is pressed and the validation fails the region returns the no data found message as defined in the reports attribute page for the region, other times when the validation fails the data that was in the region before the button was pressed just stays there, like it should.

Why am I getting these different results when the validation fails? Why do I sometimes get "no data found" and other times I get the data that is in the table as returned by the SQL Query?

A couple things to point out,

1) The table always has data in it, the sql query will always return row(s)

2) The sql query is NOT dependant on any page level values being set.

3) The sql query is simple, similar to...

select *
from my_custom_table
order by my_column asc
This post has been answered by fac586 on Oct 27 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 24 2010
Added on Oct 25 2010
21 comments
1,748 views