Record/edit view to pop-up simultaneously with button click from report of a different form

Record/edit view to pop-up simultaneously with button click from report of a different form

I have two forms: Form A & Form B. Form B contains all of the same fields of Form A, plus a few additional fields. I've created a button in the report view of Form A that creates a new record in Form B and populates all the applicable fields, (I've posted the code I used below), but visually nothing happens on the screen. If I want to finish filling out the remaining fields in Form B, I have to navigate to the report and open the record. How do I get this new record to just pop-up when I click the button? Thanks!

sample code I used to create button:

insert into Form B
[
Field1=input.Field1
Field2=input.Field2
Field3=input.Field3
]