I have two different tables in oracle apex, the first one is the documentation table which contains KPI's, the second one is the results table which contains all the KPI's results.
I have created a shuttle in a page to choose KPI's from documentation table then, insert the results into the result table. What I need is, if the showed KPI's from the documentation table don't have any result in the results table it should be appeared in red color. Is it possible to do that?? Note: the primary key and the foreign key for the join between the tables is kpicode
Here is a screenshot of the shuttle:
here is the SQL query for the shuttle to bring all the KPI's from the documentation table:
select distinct kpi as k1, kpicode as k2
from documentation
where kpi is not null;