I'm trying to set the Source Object of a Subreport programmatically.
I've created the subreport named "fsubIndividualChart" and for some reason
does not work (strIndChrtSource is a string expression).
I get the error 3011: MS Jet database engine can't find the object.
What is going on here? When I type the "Me." I am given the option of choosing the "fsubIndividualChart" as my next piece of code, but then "SourceObject" is not an object after that.
I've changed subform source objects many times before. Is there something I need to do differently for subreports?
Thanks
I've created the subreport named "fsubIndividualChart" and for some reason
Code:
Me.fsubIndividualChart.SourceObject = strIndChrtSource
does not work (strIndChrtSource is a string expression).
I get the error 3011: MS Jet database engine can't find the object.
What is going on here? When I type the "Me." I am given the option of choosing the "fsubIndividualChart" as my next piece of code, but then "SourceObject" is not an object after that.
I've changed subform source objects many times before. Is there something I need to do differently for subreports?
Thanks