The way I would do that would be to create a FormSet (if you don't already have one) that includes your formA and formB. In the click event of the command button on formA put this code
thisformset.formB.command1.click()
substitute 'formB' with the actual name of your form. If I understood your question, this should be what you need.
Paul A. Busbey
I.S. Department
Sparagowski & Associates
Paul A. Busbey
Victoria Insurance