Wrox Home  
Search P2P Archive for: Go

  Return to Index  

sql_language thread: Referring to a text box on a form


Message #1 by "Tom Baggett" <ictom4u@h...> on Thu, 17 Jan 2002 20:05:06
I just figured that one out myself!!

I found it best to program that into the code yourself instead of into the 
property window.  What it would look like is:

"Where table = ' " & form1.textbox1.text & " ' "

I exaggerated the spaces around the quotes to you could see them.  Don't 
forget the quotes though.  I assume you know it has to be assigned to 
a .source (I believe) part of another control (i.e. a list box).
I hope this helps.  I am just learning VB and attaching it to SQL.

Bill Markham
William.Markham@p...

  Return to Index