View Single Post
  #2  
Old August 11th, 2007, 11:52 AM posted to microsoft.public.access.reports
Rick Brandt
external usenet poster
 
Posts: 4,354
Default How do I determine what subreport control a subreport resides in?

Nyx37 wrote:
I have a report with two subreports that are the same child report.
I want to be able to tell, within a subreports open event, which
subreport control it resides in. (i.e. if it's control 1 or 2) I
need to do this so I can reuse the same report in each subreport.
Only the filter properties are differnt.


Can you not implement the differing filters by using different
MasterLink/ChildLink property settings on the subreport control? Then the inner
report would not need to know the container.

Otherwise if there is a way to determine which control is hosting the report I
cannot think of it.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com