How can I display this in a text box

  • Thread starter Thread starter David
  • Start date Start date
D

David

I have a function that prints to the immediate window this way:

Debug.Print rs(0).Name; " is "; rs(0).Value

How can I display this info in a text box on a form?
 
Not sure of your set-up but you can use code like:

Forms!YourForm!YourTextBox = rs(0).Name & " is " & rs(0).Value
 
Back
Top