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.
 
Top