Selasa, 06 September 2016

Re: [MS_AccessPros] Re: Help with form/query



You need a space ampersand space after [CompanyName].

John Viescas, author
Effective SQL
SQL Queries for Mere Mortals
Microsoft Office Access 2010 Inside Out
Microsoft Office Access 2007 Inside Out
Building Access Applications

On Sep 6, 2016, at 22:48, ka0t1c_ang3l <> wrote:

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!! :)




Yahoo Groups Links

<*> To visit your group on the web, go to:

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   (Yahoo! ID required)

<*> To change settings via email:

<*> To unsubscribe from this group, send an email to:

<*> Your use of Yahoo Groups is subject to:


Posted by: John Viescas <>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (6)

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