So I have a report with a lot of fields that the user needs to be able to filter from a form full of combo boxes and text boxes. I've made code that I think should work but isn't.
DoCmd.OpenReport "Custom Report", acViewReport, , whereString
If Not IsNull(Me.txtID) Then
whereCriteria =...