[SOLVED] Databasejoin element data retrieve

Status
Not open for further replies.

Puma173

New Member
Good morning.

I have a relation table with two databasejoin elements [department_id | plant_id]. My requirement is to hide the dropdown options that are already in the table.
I tried this setup into the "Data - Where" TAB on the "department_id" element:

WHERE {thistable}.id NOT IN (
SELECT DISTINCT dp.department_id
FROM dsk2app_rel_departments_plants AS dp
WHERE dp.plant_id='{dsk2app_rel_departments_plants___plant_id}'
)

but the hiding doesn't turn on.

Any ideas?
Tks
 
Try removing "WHERE" from the beginning and add _raw like this {dsk2app_rel_departments_plants___plant_id_raw}
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top