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!

InterPage variable passing ?

410353Dec 10 2003 — edited Dec 10 2003
Good Day Folks,

I'm trying to pass a search query "Text Field" from say page 1 to page 5. The user enters
the search criteria on Page 1 and Page 5 shows the results.

On page 1, I have an "after submit" computation like this
G_P1_SEARCH <= P1_SEARCH, where G_P1_SEARCH is an application level item and P1_SEARCH is a page 1 level text item.

On page 5 I have a Text Field, for debugging purposes, which is assigned the value of G_P1_SEARCH, and it works. But when I use G_P1_SEARCH in a query as follows

select "EMPNO",
"ENAME",
"JOB",
"MGR",
"HIREDATE",
"SAL",
"COMM",
"DEPTNO"
from "#OWNER#"."EMP"
where ename LIKE '%:G_P1_SEARCH%'

the query returns "no data found"

Any ideas on what I'm doing wrong ?

Thanks in advance
/Serge
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2004
Added on Dec 10 2003
1 comment
262 views