How can I link a concatenated string column in a Classic Report to a URL in APEX?
Hi all,
I am using Oracle APEX version 22.2.4 on Autonomous database version 19c. I have created a classic report on a database table using the following SQL query:
select s.ID,
s.ADDRESS_LINE1 Address1,
s.ADDRESS_LINE2 Address2,
s.CITY City,
s.POST_CODE PostCode,
(nvl2(s.ADDRESS_LINE1, s.ADDRESS_LINE1 || ', ', '') || nvl2(s.CITY, s.CITY || ', ', '') || s.POST_CODE) location
from BCS_SERVICE_USERS s
where s.ID = :P32_SERVICE_USER_ID
I have used a concatenated string on the location column so that I can link the resulting address as a single string into a URL, which I have defined on the column. See attached for details. If I run the above query into SQL developer, substituting :P32_SERVICE_USER_ID for a valid Service User ID, I can get a concatenated string made up of the available fields as expected.