I am facing a problem passing value of primary key of parent table to the child table where it is foreign key. They are both on the same form and validated. But I am not able to find out how to solve this problem.
I imagine you’re stuck only with new records. In That case, don’t forget to refresh your model after saving so That the id field / property is correctly populated from the db, either it is an autoincrement pk or some other guid.
Thanks to both for your response to my post. Both of the above are really helpful. Based on the information provided by you both, I believe the problem is definately solved because I can clearly see it is making an absolute sense.