Related tables in Zoho Creator not behaving as expected

Related tables in Zoho Creator not behaving as expected

Hi
I have imported 2 tables which are related. The first form has a primary key. The second form has a foreign key and both tables were related. I have imported these 2 tables/forms into Creator. The table with the primary key is the main form and a subform is linked to the table with the foreign key.
However when I click edit on a record in the mainform, I expected the mainform to populate the data in the main form as well as the subform data....but it isnt the case.

Has anyone had this problem before? Please share how you had fixed it.

Casper