Having Issues with Select statements dealing with checkboxes
I am trying to create a form that accesses Microsoft SQL Database Studio and allows a user to add, search, update and delete records. I am having trouble dealing with checkboxes however. Whenever I search by just text and have no checkbox reference in the where clause , I get back the correct results along with the correct check boxes being checked. If I add a checkbox reference in the where clause however , every sql search focuses on the checkbox part , so if I type anything in the text boxes and dont check checkboxes , I get no results. Any idea what I am doing wrong here? Also even with no checkboxes in the where clause , I get back the correct results and checkboxes , but not without getting the "no record found" message before getting the results. The issue is within the btn_search.

Nilesh ShahRank #42 · 34.2K reputationPosted Jun 20, 2017, 8:57 AM EDT
Mac Weigle13 reputationPosted Jun 20, 2017, 9:10 AM EDT
Nilesh ShahRank #42 · 34.2K reputationPosted Jun 20, 2017, 9:20 AM EDT