I am struggling with an expression. I need to get a dynamic filled drop down box based on a selection of an other dropdown box in the same table/formular.
I have a table with people who offer services like barkeeper, hostess, etc. → EnumList: PERSON[Services] and PERSON[PersiID] is the key in this PERSON Table.
I have a table of Events where I have two drop down boxes. The first one ist the requested services (also an enumlist) and a second dropdown box where I need the persons(personID) based on the selection of the first drop down.
So if I have an event where only barkeepers are requested, in the second drop down there should only show the persons who are barkeepers.
I have this validIf expression in the EVENT[PersonID] table without errors, but the result is not correct: