I have been tweaking it alot and i have it to work with the following code:
Code:
Dim rst As DAO.Recordset
Dim intCounter As Integer
Dim intUpBound As Integer
Dim arrCount() As Variant
Dim strSubject As String, strJoint As String
DoCmd.Requery
Set rst = CurrentDb.OpenRecordset("SELECT * FROM ServiceUser WHERE (ServiceUser.Check)=True")
rst.MoveLast
rst.MoveFirst
intUpBound = rst.RecordCount
ReDim arrCount(1 To intUpBound) As Variant
For intCounter = 1 To intUpBound
arrCount(intCounter) = rst!Email
rst.MoveNext
Next intCounter
strSubject = InputBox("Insert E-mail Subject", "Email Subject")
strJoint = Join(arrCount, "; ")
DoCmd.SendObject , , , , , "" & strJoint & "", strSubject, , True
DoCmd.SetWarnings False
DoCmd.RunSQL ("UPDATE ServiceUser SET Check=False")
Check10 = False
DoCmd.Requery
DoCmd.SetWarnings True
Exit Sub
While testing it, it sometimes crashes the Database, if i changed it to the way you mentioned will it still crash? think ill try it and see what happens, thanks for your help!