Master Detail data insert form

How can I design an input form to insert data in two tables (master and detail) simultaneously with one click?

Thanks.

Hi @obaidulhaque,

Is there a relationship between these 2 tables?

Thanks.

Yes, the detail table has a foreign key and the master table has a primary key.
I want to insert one record in the master table and multiple records in the detail table at one click on the Submit button.

I don’t think that can be done as it is. You will need some custom code like Lambda function to handle such scenario.