In your code, you have these:Could you write it for example, please?
Dim strReport As String ... strReport = "rpt_Inspections" ... DoCmd.OpenReport strReport, lngView, , strWhere
Dim strReport As String [b]Dim strReport2 As String[/b] ... strReport = "rpt_Inspections" [b]strReport2 = "NameOfYourOtherReportHere"[/b] ... DoCmd.OpenReport strReport, lngView, , strWhere [b]DoCmd.OpenReport strReport2, lngView, , strWhere[/b]
Of course it is, arnelgp has just done it for you, but expected you to write the code for the second report, using the first button as an example.?I am not sure Is it possible to create a report like this - one report with Inspections and AnoterTask to filter them with filter form with only one button