hi,i am new to vb 8 and i am now facing the problem to write sql statement.
i want to retrieved data from MS Access by select the date using date time picker. so my problem is how to write the sql statement.
My code is as below:
sql = "SELECT * FROM summary WHERE line = '" & cbLine.Text & "' AND date = '" & dtp.Text & "'AND plants = " & cbPlant.Text & ""