troubleshooting Question

Do While loop nor working properly

Avatar of yddadsjd95
yddadsjd95 asked on
Microsoft Access
2 Comments1 Solution358 ViewsLast Modified:
Great Day, I have created a feature that permits a vehicle repair shop to send out email reminders for repairs that need to be performed on Customers’ vehicles. These reminders are triggers by qryServiceReminder.  I am trying to take into account that more than one task may need to be performed on a particular vehicle; consequently, I have a do until loop in the code that checks for more than one task. However, this code is not giving me the desired results.

If you click on frmServiceReminder, you will see that two customers have triggered a service reminder (this is based on JobID): David Robbins has one service reminder and Barry Green has two. When the email is generated, Robbins’ service need is a “Radiator Flush”, while Green’s service need is “Weather stripping on trunk” and “CO2 Sensor needs replacing,” but the email displays that Robbins needs two radiator flushes and Green needs three Weather stripping in trunk.

I’d appreciate if you could correct my code to show one radiator flush for Robbins and the two service needs for Green.

Thank you in advance for your kind assistance.

r/David

Independent-Auto---EE-11-7-2011.zip
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros