Hello Adele,
This would have to be done in the designer, not when the report is being run. That is, you'd have to edit the selection formula before printing the report, you could not structure this as a run time parameter.
If nothing was selected, then that means the structure of the record selection rule is not selecting any records. Cut and paste the selection formula you tried here.