Hi!
I'm trying to define the SourceObject of a Subform in my Report as the SourceObject of a subform i my Mainform. I want this to be defined when I open the report.
I thought this would be enough:
On the reports event "On open" i've have this code:
Me.Subform.SourceObject = Forms.Mainform.Subform.SourceObject
But it doesn't work?
I'm trying to define the SourceObject of a Subform in my Report as the SourceObject of a subform i my Mainform. I want this to be defined when I open the report.
I thought this would be enough:
On the reports event "On open" i've have this code:
Me.Subform.SourceObject = Forms.Mainform.Subform.SourceObject
But it doesn't work?