Note that if you want to specify a date literal in an SQL statement you should either enclose it in hash characters, e.g. #30/08/2005#, or use the DATEVALUE function (which may be Access-specific, although I'm not sure), e.g. DateValue('30/08/2005').
You can create a parameterised query and set the values of the parameters based on the selections from your ComboBoxes, e.g. Code:
Dim selectCommand As New OleDbCommand("SELECT * FROM [Incident] WHERE [Incident_Date] = @Incident_Date", Con)
selectCommand.Parameters.Add("@Incident_Date", OleDbType.DBDate)
selectCommand.Parameters("@Incident_Date").Value = dateValue Note that the command and parameter can be created at the class-level and thus reused. Then the only thing you need to do is set the parameter Value each time you want to perform a query.
Bookmarks