Determine source control of a subreport

D

David Witteried

I am trying to determine the parent control of a subreport from the On Open
property of the subreport. The parent property of the subreport does not
allow this.

I am trying to dynamically modify the record source property of the
subreport as it is instantiated depending on which control instantiates the
subreport from the main report (i.e. parent report).

Any suggestions?
 
D

David Witteried

Alex,

The parent property returns the properties of the parent report and the
object collection within in it (e.g. controls). However, there is no way of
telling (that I know of) to determine what control on the parent report
instantiated the child report.
 

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