The drag and drop contorl won't do this for you.
You have to add the code to save the data to table2 yourself. You'd write the data to table1, get the primary key value of the newly added record, then write the data to table2, using the key value from table1 as the foreign key.
You can find an example of doing that
here[
^].