G.18. The SubReport Object

Much like forms and subforms, reports can also contain subreports. The SubReport object has no methods, and its events are the same as the events for the SubForm object.

The SubReport object has four properties, described in the following table.

PropertyData TypeDescription
ApplicationApplication objectReturns the currently active application object.
FormForm objectRefers to the form associated with a SubReport object.
ParentVariousRefers to the parent of the selected subform.
ReportReport objectRefers to the report associated with a SubReport object.

Get Access™ 2007 VBA Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.