Relations between two relation managers
I've a bit of a struggle with table list/form.
I've made a table list with customers, within the edit of the customer I've integrated two relation managers.
One: With customer contact persons.
Two: With notes of the customer.
Now, I want to select the customer contact name in the form of Relation manager no 2. But I can't get it working, with only the contacts of this customer. I'm seeing all contacts of all customers.
I've probably have to make an query select, but I'm complete out of ideas how to fix this.
Who has any advice?
4 Replies
Solution
But how do I pass a ID from the main table to the query in a relation manager?
$this->ownerRecord
is the record currently viewedThanks, I will give it a try..