I am trying to set the ControlSource of a textbox in code but keep getting the "#Name?" result. The idea is to have the textbox show a concatenated string that includes a variable.
Me.tbxResults.ControlSource = "Search results for your query by " & varCity
But this doesn't work. Actually, even if I just say:
Me.tbxResults.ControlSource = "blah"
that doesn't work either. What am I doing wrong? lastout (the game's not over till it's over)
Me.tbxResults.ControlSource = "Search results for your query by " & varCity
But this doesn't work. Actually, even if I just say:
Me.tbxResults.ControlSource = "blah"
that doesn't work either. What am I doing wrong? lastout (the game's not over till it's over)