It will depend on whether Form2 is open at the time you want the transfer to
take place. If both Form1 and Form2 are open, you could put this line in the
Lost Focus Event of the text box on Form1:
[forms]![Form2]![MyTextBox2] = Me.MyTextbox1
If Form1 opens Form2, then you will want to use the OpenArgs property.
Access Help has an example of how to use the OpenArgs property.
Jenny at APOC said:
How do you transfer a Textbox value from Form1 to Form2 and then have code
run on that value that you have transferred?