Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Count emails sent by change of Label caption
- emailTotal = "SELECT COUNT(EMail) FROM ( SELECT DISTINCT EMail FROM Names)"
- Dim rs As DAO.Recordset
- sSQL = "SELECT COUNT(EMail) As ECount FROM ( SELECT DISTINCT EMail FROM Names)"
- Set rs = CurrentDB.OpenRecordset (sSQL)
- EmailTotal = rs!ECount
Add Comment
Please, Sign In to add comment