Jackie
Sep 12th, 2000, 04:20 PM
I am TRYING to understand this....
Trying to write a SQL select statement that will
pull data where the database field (Customer Name)
equals the value that the user enters in a text box.
I've seen examples, but I get lost in the strings of
symbols ("'" & " '&").
So, please correct this stament:
"SELECT * FROM Sales WHERE (Customer Name = "txtBox.text")"
Sales = database table
Customer Name = table field
txtBox = name of text box user inputs to
THANKS.
Trying to write a SQL select statement that will
pull data where the database field (Customer Name)
equals the value that the user enters in a text box.
I've seen examples, but I get lost in the strings of
symbols ("'" & " '&").
So, please correct this stament:
"SELECT * FROM Sales WHERE (Customer Name = "txtBox.text")"
Sales = database table
Customer Name = table field
txtBox = name of text box user inputs to
THANKS.