Me.rep2txt1.Value = DLookup("[Sent to Processing]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt2.Value = DLookup("[Query]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt3.Value = DLookup("[Returned to Field]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt4.Value = DLookup("[Sent to SMS]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt5.Value = DLookup("[SMS AI/KYC]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt6.Value = DLookup("[Harrogate]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt7.Value = DLookup("[Approved]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt8.Value = DLookup("[Despatched]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt9.Value = DLookup("[Installed]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt10.Value = DLookup("[Active]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt11.Value = DLookup("[Cancelled]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
Me.rep2txt12.Value = DLookup("[Declined]", "totalstatusrep", "[SalesPerson] = 'Daniel James'")
|