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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

oracle apex IR with link column with listagg values to send single value

ragu_sOct 27 2021

Hello,
I am trying to send single value on '|' separated link column, any inputs will be helpful. I have setup an example within my personal workspace.
So, for example in my report if I click on first accounting row for employees(s) column on hello1, it should only pick this value not the whole 'ADAMS|HELLO1|JACKIE|JONES|King|WARD'.
I am using below sql for report query and made employee(s) as link column to redirect to modal dialog.
Workspace Details:
workspace: raghu_workspace
username/password: test/test12345
App# 25244, Pg# 1 & 2.

SELECT
t1.dname,
LISTAGG(
t2.ename,
'|'
) WITHIN GROUP(
ORDER BY
t2.ename
) AS employees
FROM
dept t1, emp t2
where t1.deptno = t2.deptno
GROUP BY
t1.dname
ORDER BY
t1.dname;

image.png
image.png
Thanks,
Ragu

Comments

Post Details

Added on Oct 27 2021
5 comments
557 views