I have a search form based on a query. The query has a on/off field and default is on. The criteria of the query is to show the records in on status. I would like to have a command button to show all records including off status records at times. The button should have toggle function: first click on and second click off. What sort of required code to be put in on click event to achieve this function? Thanks!