It's returning me every day the value = 3 instead of being "0" (zero) if you don't have any output for the current day.
Function load_exit()
Dim IntS As Integer
IntS = DCount("[exitTypeID]", "[tbCustomers]", "Format([exitDate],'dd/mm/yyyy') = Format(Date(),'dd/mm/yyyy') And [exitTypeID] = 2 or [exitTypeID] = 3 or [exitTypeID] = 5")
Forms![FrmMenu].lblexitTotal.Caption = IntS
End Function
Function load_exit()
Dim IntS As Integer
IntS = DCount("[exitTypeID]", "[tbCustomers]", "Format([exitDate],'dd/mm/yyyy') = Format(Date(),'dd/mm/yyyy') And [exitTypeID] = 2 or [exitTypeID] = 3 or [exitTypeID] = 5")
Forms![FrmMenu].lblexitTotal.Caption = IntS
End Function