Working with tab panal form

I am working with the Tab panal which contains two tabs, created based on relation. One is to view data in table view. Other tab, is to udate records (obivously it in record view) which user selects and double clicks entire row in table view and selected data gets populated in text field in the 2nd tab.

I am stuck with:

  1. How can I immediately open the send tab once user double clicks on the record from table view(which is on the 1st tab). I am able to open form itself, not in the tabpanal
  2. After updation user click update/save button, I want to close that form(tabpanal) and open Main-Form in the solution.

Not 100% sure I understand. The two tabs are based on the same relation/table and one is in table view and one in record view? If so why not show them in the same tab, perhaps as a split panel? Then, as you click on the table view to select a particular record, that selected record will show in the record view

Thanks good option. it works.