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!

How to assign variable with dynamic page item?

648421Jan 6 2011 — edited Jan 10 2011
Hi there,

I'm facing following problem:
I need to assign a variable with a value of a page item - e.g. apex_application.g_f04(i).
My problem is, that f04 might be everthing between f04 and f52 (or whatelse was max. number of page items?).
I tried several things, among others something like this:

v_test := apex_application.g_f || x || ( i) /* where x might be another variable */

or

v_stat := 'SELECT apex_application.g_f' || x || '( i) from DUAL'
EXECUTE IMMEDIATE v_stat INTO v_test

but I didn't get it till now...
Any ideas?

Edited by: DFiles on 06.01.2011 13:57
This post has been answered by fac586 on Jan 7 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 7 2011
Added on Jan 6 2011
24 comments
2,349 views