Subforms SourceObject

jakobal

Registered User.
Local time
Today, 15:41
Joined
Jan 11, 2008
Messages
14
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?
 

Users who are viewing this thread

Back
Top Bottom