Hi, this is an example of muy problem :
I have 2 tables
Table Persons : with fields id_person, name, profession
Table Photos: with fields id_photo, id_person, PHOTO. In this case for id_person I used the REF type and reference to Persons table.
My problem is that I have an ADD PHOTO button , but I only need that this button is active only if the person has the “photographer” profession. It means an architect or a doctor are not allowed to take any photos with the application.
I tried a lot of expression in the Add button behaviour but nothing works well.
Thanks.