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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top