In Access I have 2 Forms. Main and Secondary.
On the Main form I have a cmdButton that opens the second form using and OpenForm command.

I have text boxes on the main form that take user input as strings. I want to be able to transfer those strings to the secondary form for use, or at least be able to reference them, but have been unable to do so.

I tried referencing with a line like StringVariable = Main.txtBox.Text but was unsuccessful. Any advice would be much appreciated. Thanks.