a form that looks at each complaint one by one. I'd like to include a button next to the ComplaintNumber
Then why do you use an InputBox to get the complaint number if it's right there on the form?
Posted code will filter that form to a complaint number, but is that what you really want as opposed to navigating to that record? Also, once applied, do you have code to undo the filter so that you can get the other records back? Consider double click event for the complaint number control. One dbl click to apply filter, another to remove it.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.