Selasa, 06 September 2016

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

 

Kat-

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 <no_reply@yahoogroups.com> 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 atrosalindac@gmail.com 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:
   http://groups.yahoo.com/group/MS_Access_Professionals/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/MS_Access_Professionals/join
   (Yahoo! ID required)

<*> To change settings via email:
   MS_Access_Professionals-digest@yahoogroups.com
   MS_Access_Professionals-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
   MS_Access_Professionals-unsubscribe@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
   https://info.yahoo.com/legal/us/yahoo/utos/terms/

__._,_.___

Posted by: John Viescas <johnv@msn.com>
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:

Poskan Komentar