Determine if detail section has printed anything before page break

T

terri

I am using 2000RT.

I have a report detail section with the following controls:

OLE Subreport

The OLE container (which contains a bmp) establishes a minimum height, but
the subreport can grow and may need to span pages. In the Detail Print
Event, I am using the Line command to draw a horizontal line at the top of
section. Other Line commands in the Page Event finish a completely bordered
grid effect.

If there isn’t room enough on the current page, the last row pushes to the
next page AFTER the horizontal line is printed. This creates the appearance
of a short, blank row of squares at the bottom of many pages. In this case,
I would like to suppress this horizontal line, making the last row appear
taller.

I have tried capturing pertinent info in the Format, Print and Retreat
events to conditionally trigger the Line command, to no avail.

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top