Code:
Private Sub CreateReport_Click()
Dim Serv As String
Dim Manu As String
Dim Boil As String
Dim Steam As String
Dim Hot As String
Serv = "[TypeOfWorkServicing] = '" & Me!Servicing & "'"
Manu = "[TypeOfWorkManufacturing] = '" & Me!Manufacturing & "'"
Boil = "[TypeOfWorkBoilers] = '" & Me!Boilers & "'"
Steam = "[TypeOfWorkSteamSystems] = '" & Me!SteamSystem & "'"
Hot = "[TypeOfWorkHotWater] = '" & Me!HotWater & "'"
DoCmd.OpenReport "AllCustomers", acViewReport, , Serv And Manu And Boil And Steam And Hot
End Sub
Can someone please help me with this?