N
nexus
I have declared a variable in this module Main Menu, say
Public Sub Exit_Click()
Dim strTest as String
End Sub
(imagine there's a value to strTest)
Now i wan to store this variable in another module,
Enquiry Form. The enquiry page has a textbox called
txtEnqNo and i wan the variable strTest to be display in
the txtEnqNo during form view. How do i do that?
I tried putting these codes under the Enquiry form
strTest = Forms!frmEnqMain!txtEnqNo
but it doesnt work. Is there any way i can solve this?
Public Sub Exit_Click()
Dim strTest as String
End Sub
(imagine there's a value to strTest)
Now i wan to store this variable in another module,
Enquiry Form. The enquiry page has a textbox called
txtEnqNo and i wan the variable strTest to be display in
the txtEnqNo during form view. How do i do that?
I tried putting these codes under the Enquiry form
strTest = Forms!frmEnqMain!txtEnqNo
but it doesnt work. Is there any way i can solve this?