The following example cancels a report from the report’s BeforeBody event:
Private Sub Report_BeforeBody(SuppressBand As Boolean) If SalespersonID = "ERIN J." Then RMSalespersonReport.Cancel End If End Sub