I'm just trying to get the hang of SQL and .NET. I was wondering can I use the field, from a textbox for example, to help create my SQL command?

This wont work so obviously there's a problem with doing it this way:

vb Code:
  1. ' Set the SELECT statement for the Command object
  2.             cmdUserSelect.CommandText = "SELECT ShapeID, " _
  3.                 & "Shape, Colour " _
  4.                 & "FROM Features WHERE Shape = " & Me.shape.Text

Am I close or miles away?