Great Thanks :)
As said i have 2 Lists i.e. ParentList and ChlidList for which i have 2 forms customized in InfoPath. One i have attached earlier i.e. ChildList form.
In SharePoint on ParentList form, ChlidList form is embaded as WebPart. (Please check 1st Screen shot which i shared earlier)
In ParentList form i add a Record and click on Submit button, where record gets added in ParentList.
Then on same form we have ChlidList form, where another button i.e. Set Risk ID. when user clicks it, it retrives latest max(ID) from ParentList and display it on last column of ChildList form.
So currently i submit Parent record first and then using 'Set Risk ID' button i retrive latest Parent ID and set it in ChildList column. I want that when i click on Submit button it should add record in Parent List and also retrive latest ID from Parent and display it in ChlidList last column. So i want to remove 'Set Risk ID'
Please note both the forms are different but embaded on single form where i add Parent List record first and then Child List record and its embaded using webPart.