I’m having difficulty trying to filter my database for a certain date. In my application, I am attempting to retrieve records whose date corresponds to the date selected on my application. The results should then be displayed in a listview. If the selected date can not be found in the table then an error should show. So far, I have attempted to create a Do While loop to loop through the table, but this has failed.

Can anybody help me at all?