Hi everyone,
I have three tables:
1) Contact_information(id, name, phone, email, etc) - this one stores personal data
2) Organization (id, title, etc) - data about organizations
3) ConOrg (id_con, id_org) - this table stores data about contact belonging to different organizations (since one contact can participate in several organizations, this is a separate table)
Now I'm trying to create a set that will only show me those contacts who participate in organizations. In order to be able to search contacts by organization parameters I have to connect all three tables in a set.
1) I connect Contact_information to ConOrg requiring Contact_information.Id = ConOrg.id_con, Link_type is One-to_many, Include record from parent table = Only if a matching child record DOES exist. This works great.
2) I connect ConOrg to Organization requiring ConOrg.id_org = Organization.id, Link type is One-to-One, Include record from parent table = Only if a matching child record DOES exist. If I do that and try to open a set a5 consumes 100% CPU and that's all.
However if I do "Include record from parent table=Always", the set is opening normally.
I want to make "Include record from parent table=Only if a matching child record DOES exist" in order to filter contacts based on information stored in Organization table.
Why doesn't the set work with this settings? Is it a5 bug or I'm doing something incorrectly?
I have three tables:
1) Contact_information(id, name, phone, email, etc) - this one stores personal data
2) Organization (id, title, etc) - data about organizations
3) ConOrg (id_con, id_org) - this table stores data about contact belonging to different organizations (since one contact can participate in several organizations, this is a separate table)
Now I'm trying to create a set that will only show me those contacts who participate in organizations. In order to be able to search contacts by organization parameters I have to connect all three tables in a set.
1) I connect Contact_information to ConOrg requiring Contact_information.Id = ConOrg.id_con, Link_type is One-to_many, Include record from parent table = Only if a matching child record DOES exist. This works great.
2) I connect ConOrg to Organization requiring ConOrg.id_org = Organization.id, Link type is One-to-One, Include record from parent table = Only if a matching child record DOES exist. If I do that and try to open a set a5 consumes 100% CPU and that's all.
However if I do "Include record from parent table=Always", the set is opening normally.
I want to make "Include record from parent table=Only if a matching child record DOES exist" in order to filter contacts based on information stored in Organization table.
Why doesn't the set work with this settings? Is it a5 bug or I'm doing something incorrectly?
Comment