Im having trouble passing a value from form2 into form1. I want to be able to type a string in text0 of form2. When I click a button on form1, it should fill in the Form1.Text0 with Form2.Text0. I just get a message saying null.
Here's the code
Private Sub Command4_Click()
Dim box1 As Object
Dim feedBox As Object
Set box1 = Forms!Form1!Text0
Set feedBox = Forms!Form2!Text0
MsgBox "Feedbox is " & feedBox.Value
box1 = feedBox.Value
MsgBox "Box1 is " & box1
End Sub