Hi guys. I have this code for a button, that lets me filter records by selection, then preview a report on the filtered records:
Private Sub Preview_Rpt1_Click()
DoCmd.OpenReport "rpt1", acPreview, , IIf(Me.FilterOn = True, Me.Filter, "")
End Sub
It works fine, but I need to do it again for a...