No, in that case, if the criteria for the yes/no field is equal to the checkbox, he will get only the true records when the checkbox is checked and only the false records when the checkbox is unchecked. What he wants is the true records when the checkbox is checked and all the records when the checkbox is unchecked. The solution is a function as a variant which equals "*" if the checkbox is not checked, and -1 if the checkbox is checked. The criteria for the query is set to Like the funcion so it comes out either Like -1 or Like "*". I've tried it and it does work (By setting the Triple State property of the checkbox to True, he can make the selection of any one of the three, True records, False Records and All records.)
In the process of trying to create a solution, I attempted to set a variable to null and this prompted my question