Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COPY clipboard and paste in tetxbox....

Status
Not open for further replies.

2009luca

Programmer
Jul 27, 2013
222
0
16
IT
I loop a value from recordset with a dowhile not rs.eof. Field named TEST.

Now, i need to copy in clipborsd the value of TEST then paste in tetxbox1, then clcik on commanbutton1, how to?
 
Why do you want to use clipboard? (clipborsd? :) )

Code:
Do While Not rs.eof
    If something Then
        tetxbox1.Text = rs!TEST.Value
        commanbutton1.Value = True
    End If
Loop


---- Andy

There is a great need for a sarcasm font.
 
The VB6 textbox is data aware - so you could just get it to display the data directly (depending on what you are actually trying to achieve)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top