Subform
Posted: Fri May 04, 2018 4:22 pm
Hey,
i'm migrating all my forms and objects from v3 to v4. The subform logic has kind of changed from v3 to v4 and I cannot make it work anymore.
I have companies in a table called "entreprise" with "entreprise_id" as the primary key. I have contact in a table called "contact" with "contact_id" as the primary key, and a contact can belong to a company, so it has "contact_entreprise_id" as a foreign key of "entreprise_id".
I'm trying to show all the contacts who work in a company. So when on the company form, I'm trying to show in a subform all the contacts of this company. In the v3 it worked:
Now I'm trying to do the same in v4. First the subform object:
Then the form itself which will be displayed as the subform:
And the error I get when accessing the company form:
Any idea on how to do it?
i'm migrating all my forms and objects from v3 to v4. The subform logic has kind of changed from v3 to v4 and I cannot make it work anymore.
I have companies in a table called "entreprise" with "entreprise_id" as the primary key. I have contact in a table called "contact" with "contact_id" as the primary key, and a contact can belong to a company, so it has "contact_entreprise_id" as a foreign key of "entreprise_id".
I'm trying to show all the contacts who work in a company. So when on the company form, I'm trying to show in a subform all the contacts of this company. In the v3 it worked:
Now I'm trying to do the same in v4. First the subform object:
Then the form itself which will be displayed as the subform:
And the error I get when accessing the company form:
Any idea on how to do it?