Rabu, 28 Juni 2017

Re: [MS_AccessPros] What's wrong with the syntax?

 

Kevin,


Without reviewing the ELookUp() code (I assume Allen Browne's), the error that sticks out is the lack of a space to the left of AND.


strEmailAddress = ELookup("HotelContactEmail", "tblHotelContact", "HotelID=" & Me.HotelID & " AND RecentContact =" & True)


Regards,

Duane




From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of qing qing qingqinga@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Wednesday, June 28, 2017 8:28 AM
To: MS Access Professionals
Subject: [MS_AccessPros] What's wrong with the syntax?
 


Dear All,

Please help me with this:

strEmailAddress = ELookup("HotelContactEmail", "tblHotelContact", "HotelID=" & Me.HotelID & "AND RecentContact =" & True)

It doesn't work. What could be wrong? Thanks in advance.

Best Regards,

Kevin



KEVIN Z.



__._,_.___

Posted by: Duane Hookom <duanehookom@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

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