You can either
- in report code, look back to see if form combo is Yes or not
- pass value of combo to report as an OpenArgs parameter of DoCmd.OpenReport....
- either way, you should cover the possibility that the combo has no selection by using Nz function.
Which way to go kind of depends on whether or not the form is still open when the report is opened. If not, you cannot refer back. I would tend to either make the report control visible or not rather than playing with its height - unless you need to control it based on contents.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.