I have finally solved the problem by using the parent child relationship.
When creating ref to tables, virtual columns named ‘Related TABLE_NAME’ are automatically created.
Inserting these rows in my form solved my problem as you can see below. Hope this help someone in the same situation.