Helo friends;
If lbDriverName.SelectedIndex = True Then
sql = "SELECT * FROM tblDriver WHERE dName =" & lbDriverName.SelectedItem
Else
sql = "SELECT * FROM tblDriver"
End If
and my error is...
Syntax error (missing operator) in query expression 'dName ='.
where dName is the column in access table.
please hlp.
thanks