I have this code and it is giving this error Compile Error sub or function not defined this is the code
Select Case Me.lstSalesPeriod
Case ByYear
strReportName = "Customer Reports"
lOrderCount = DCountWrapper("*", "Order Analysis", "[Year]=" & Me.cbYear)
Case ByMonth
strReportName = "Customer...