[AccessD] Sub-Reports and Paging

Mitsules, Mark mitsules_ms at nns.com
Mon May 5 11:51:33 CDT 2003


I can never tell whether I'm winning or losing an argument with myself.
 
 
 
-----Original Message-----
From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] 
Sent: Monday, May 05, 2003 9:49 AM
To: accessd at databaseadvisors.com
Subject: Re: [AccessD] Sub-Reports and Paging


Dear Rocky:
 
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.
 
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.
 
Maybe someone else has an idea.
 
With my very best regards for you and your family,
 
Rocky Smolin
Beach Access Software
 

----- Original Message ----- 
From: Rocky Smolin -  <mailto:bchacc at san.rr.com> Beach Access Software 
To: AccessD at databaseadvisors.com <mailto:AccessD at databaseadvisors.com>  
Sent: Friday, May 02, 2003 5:18 PM
Subject: [AccessD] Sub-Reports and Paging

Dear List:
 
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.  
 
The problem is that the main report page breaks in odd places sometimes even
cutting a line of the subreport in half horizontally!
 
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.
 
Anybody got any ideas?
 
MTIA,
 
Rocky Smolin
Beach Access Software
 



  _____  




_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030505/fd40507d/attachment-0001.html>


More information about the AccessD mailing list