Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim db as Database
Dim rst as Recordset
Dim strSQL as String
dim strUpdate as SQL
Dim intCount as Integer
Dim X
strSQL = "Select txtEmailAddress, booSent From tblEmp Where booSent = False"
Set db = Currentdb
Set rst = db.CreateQueryDef("Temp",strSQL)
Docmd.OpenQuery("Temp"
For intCount = 1 to rst.RecordCount
' The mail Code
' Create an update Qry,then view SQL, Copy & Paste
' for correct syntax...
strSQL = Update booSent Where txtEmailAddress = rst.txtEmailAddress
DoCmd.RunCode(strSQL)
Next intCount
rst.Close
[End Code]
This should get you started if you want to work over the weekend. I'll post a better sample when I return
Good Luck...
AccessGuruCarl