June 17, 200520 yr I have a many to many relationship of contacts and companies. A company can have several contacts and contacts can be associated with multiple companies. Each contact has a contact type for each company it is associated with. It can be any number of types from the list, but each company can only have one primary contact. This data is stored in a field in the Join table. I want to have a field in the company table that identifies who the primary contact is. I've tried using the calculation: If ( PatternCount ( Company::Primary; "Primary" ); Contact::Full Name) but it only pulls the name sometimes. I think it only pulls the name if it's the first person that was associated with the company. How can I get it to pull the right name? Thanks.
June 17, 200520 yr I want to have a field in the company table that identifies who the primary contact is. This field should be the ID of the Contact. Then use another TO of Contact linked to Company by this ID field, to show the name.
Create an account or sign in to comment