[AccessD] Raising events from subreports

Jim Dettman jimdettman at verizon.net
Sat Mar 24 08:10:58 CDT 2012


Charlotte,

<<Subreports are nested no more
than 3 deep, but I need to find a way to deal with child level subreports
that cover multiple pages. >>

  In what way?  After reading your description, I'm still left wondering
what it is your trying to do/avoid when the sub reports print.

Jim. 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust
Sent: Saturday, March 24, 2012 02:45 AM
To: Access Developers discussion and problem
Subject: Re: [AccessD] Raising events from subreports

Here's the issue:  I have a report with multiple subreports for individual
parts of the docuent, including detail specific to each subreport and
boiler plate that runs to about 3-4 pages..  Subreports are nested no more
than 3 deep, but I need to find a way to deal with child level subreports
that cover multiple pages.  I'd like to know when that condition occurs,
which I can determine within the Print event of the Detail section of the
subreport by testing overall cumulative height against a maximum number of
twips.  I just haven't found a good way of passing the information back to
the parent form in order to force a page break.  Page breaks don't work in
subreports, so  it has to be done at the parent level, and I'm banging my
head against the problem.

Charlotte Foust
On Fri, Mar 23, 2012 at 5:59 PM, Charlotte Foust
<charlotte.foust at gmail.com>wrote:

> Has anyone had luck raising custom events from subreports to their parent
> reports?  I used to do it in VB.net but Access report objects play by
> different rules.
>
> Charlotte Foust
>
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list