Currently, a user will press a button on Form1, which opens form2 in modal and collects an electronic signature. After the signature is confirmed by form2, form2 closes and the signature needs to be placed back on Form1. I need 'Form1' to represent any number of forms so that I do not have to rewrite this code 100 times in 100 different places.

My problem code looks like this from Form2 (the signature form)

Forms!Form1!txtPatientSig.Value = Me!txtPatientSig.Value



I want 'Form1' to be a variable representing an open form.