G
Guest
I declare in a module
Public locationID As String
Then populate it in a subroutine
LocationID = "My string"
I can use the value of LocationID in my code just fine, but I also want to
display this value in a text box on a form. For the control source I have
tried
=[LocationID]
LocationID
Both result in an error. What's my problem please?
Public locationID As String
Then populate it in a subroutine
LocationID = "My string"
I can use the value of LocationID in my code just fine, but I also want to
display this value in a text box on a form. For the control source I have
tried
=[LocationID]
LocationID
Both result in an error. What's my problem please?