Selasa, 06 September 2016

[MS_AccessPros] Re: Help with form/query


John -

I managed to get the code, and now I get 7 records that show that the permits have expired. However, now the code that is setup to email the companies is not working. I am getting a syntax error on the following piece of code:

.Subject = "GT Permits"
.Body = "Sir/Madam:" & _
               & vbCrLf & vbCrLf & "Please be advised that the" & rst![CompanyName]"," & "Unit #" & rst![UnitNo] & "City Permit has expired or will expire on" & _
                            rst![CityPermit_ExpDate] & _
                            "." & vbCrLf & vbCrLf & "You are required to have a current City Permit in order to obtain a GT Permit to operate at the Airport.  Please contact Rosalinda, at (830) 676-0251, ext. 1210 or by email should you have any questions.  Your cooperation is greatly appreciated." & vbCrLf & vbCrLf & "Thank you."

Thanks for your help!! :)

Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.



Tidak ada komentar:

Posting Komentar