<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear Rocky:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Perhaps you could put an invisible page break 
between each sub-report.  Then in the OnOpen event of the report, Dcount 
the records in each of the eight sub-reports and estimate the height of the 
sub-report from the sub-report's report header plus the number of detail 
records.  Then make the page break visible to separate the sub 
reports.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Of course since one of the fields in the detail 
record 'can grow' and does, it's going to be an estimate at best.  
Also, this means potentially a lot of white space on a page. Nah, that won't 
really work well.  You need to know where you are on the page during the 
printing of the sub-report and page when it gets close to the 
bottom.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Maybe someone else has an idea.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>With my very best regards for you and your 
family,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Rocky Smolin<BR>Beach Access Software</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=bchacc@san.rr.com href="mailto:bchacc@san.rr.com">Rocky Smolin - 
  Beach Access Software</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=AccessD@databaseadvisors.com 
  href="mailto:AccessD@databaseadvisors.com">AccessD@databaseadvisors.com</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 02, 2003 5:18 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [AccessD] Sub-Reports and 
  Paging</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Dear List:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>I have a report that consists of eight sub 
  reports.  Each sub-report can be of a different length.  Each 
  sub-report has a report header with some descriptive text.  </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>The problem is that the main report page breaks 
  in odd places sometimes even cutting a line of the subreport in half 
  horizontally!</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>I can, of course, insert an invisible page 
  break between each sub-report and make it visible if I'm close to the bottom 
  of the page.  But I don't know how to know, during the printing of the 
  sub-report, where I am on the main report.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Anybody got any ideas?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>MTIA,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Rocky Smolin<BR>Beach Access 
Software</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>AccessD mailing 
  list<BR>AccessD@databaseadvisors.com<BR>http://databaseadvisors.com/mailman/listinfo/accessd<BR>Website: 
  http://www.databaseadvisors.com<BR></BLOCKQUOTE></BODY></HTML>