I have a report on which I sometimes need to subsitute a different subreport. So in the main report detail, On Format event, I use the following code:
Me.[MySubformContainer].Source Object = Report.[MyNewSubform]
This does nothing, in fact the report doesn't print at all when this line is called. Is the syntax incorrect? I can't find any docs on resetting the Source Object, or how to do that.
Robert
Me.[MySubformContainer].Source Object = Report.[MyNewSubform]
This does nothing, in fact the report doesn't print at all when this line is called. Is the syntax incorrect? I can't find any docs on resetting the Source Object, or how to do that.
Robert