Jonny45wakey
Member
- Local time
- Today, 20:14
- Joined
- May 4, 2020
- Messages
- 52
Hi I have a query "qryAppointments7days" with a field called [Emailsent7day], what i would like is when On Form Open runs, the VBA checks all records in the query to see if the [Emailsent7day] contains "No", if it does then email will be sent and [Emailsent7day] field updated to "YES".
I've got the email VBA working fine (see below), how and where would i incorporate the above check please?
I've got the email VBA working fine (see below), how and where would i incorporate the above check please?