Hello,
Probably this is very simple but I'm stuck here with this problem:
On a form I've a text box with a value that I want to assign to a public variable so that I can use it in another form. I've made this:
1st form:
refer = ReferenciaInput
2nd form:
Public refer As String
Private Sub Form_Load()
MsgBox (refer)
In the 2nd form, the variable refer is empty!
Can annyone help me please?
Thanks,
João Pinto
Probably this is very simple but I'm stuck here with this problem:
On a form I've a text box with a value that I want to assign to a public variable so that I can use it in another form. I've made this:
1st form:
refer = ReferenciaInput
2nd form:
Public refer As String
Private Sub Form_Load()
MsgBox (refer)
In the 2nd form, the variable refer is empty!
Can annyone help me please?
Thanks,
João Pinto