I thought you said the subreport can grow?? If so, how can
the main report detail section be a fixed size.
Let's go back to the previous attempt, where you said
"it doesn't work well". I think I need you to expand on
that cryptic symptom.
You did say the subreport was the problem, but at this
point, the only problem that comes to my mind is if the
subreport spills over a page boundary. If it does, you
should get a line at the bottom of the first part. I don't
think you've mentioned this scenario so I don't know if you
want a line here or not.
--
Marsh
MVP [MS Access]
I'm talking about the detail section of main report.
I put all of your code in the main report.
The main report has a subreport (can grow) at its detail section.
There is only one record in the detail of main report.
So I find that the height of detail section is fixed when the report is
running.