To: MS_Access_Professionals@yahoogroups.com
From: MS_Access_Professionals@yahoogroups.com
Date: Wed, 7 Sep 2016 15:20:04 -0500
Subject: RE: [MS_AccessPros] Email Addresses
Bingo, now I just have to get this into a query and onto a report.
Thank you very much.
Bill
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Wednesday, September 7, 2016 2:21 PM
To: Access Professionals Yahoo Group <ms_access_professionals@yahoogroups.com>
Subject: RE: [MS_AccessPros] Email Addresses
The error message says it all. Apparently you have some blank/Null emails?
? Concatenate("SELECT Email FROM IndividualInformation WHERE Email is not Null",";")
Regards,
Duane
To: MS_Access_Professionals@yahoogroups.com
From: MS_Access_Professionals@yahoogroups.com
Date: Wed, 7 Sep 2016 11:22:55 -0500
Subject: RE: [MS_AccessPros] Email Addresses
Duane,
When I enter the string ? Concatenate("SELECT Email FROM IndividualInformation",";")
While in the module modConcatenate I get an error 94, Invalid use of Null. This is line that turns yellow.. strLastValue = .Fields(0)
Conceptually I am not completely following.
The code in the Debug window is calling the procedure in the module? and that is having a problem with a null value?
Bill
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Friday, September 2, 2016 4:58 PM
To: Access Professionals Yahoo Group <ms_access_professionals@yahoogroups.com>
Subject: RE: [MS_AccessPros] Email Addresses
Bill,
Open the debug window (press Ctrl+G) and enter:
? Concatenate("SELECT Email FROM IndividualInformation",";")
Yes, I am working in Switzerland until at least the end of the year. I've been here about 3 1/2 months already and loving it. I prefer the flat biking in Minnesota but the scenery is spectacular around Vevey.
Duane Hookom, MVP
MS Access
To: MS_Access_Professionals@yahoogroups.com
From: MS_Access_Professionals@yahoogroups.com
Date: Fri, 2 Sep 2016 11:53:14 -0500
Subject: RE: [MS_AccessPros] Email Addresses
Duane,
I can't seem to get it to work for just one table
The module is in and compiles.
I can't seem to get the concept to work for one field in one table.
Table - IndividualInformation
Field - Email
Any additional thoughts.
Are you really in Switzerland, all the way from MN?
Bill
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Thursday, September 1, 2016 7:11 PM
To: Access Professionals Yahoo Group <ms_access_professionals@yahoogroups.com>
Subject: RE: [MS_AccessPros] Email Addresses
Hi Bill,
I prefer to use a generic function that can be used to concatenate and field or fields from any tables/queries.
Try this function: http://www.tek-tips.com/faqs.cfm?fid=4233
Your expression might be something like:
Concatenate("SELECT Email FROM tblCustomers WHERE Active = 'T'", ",")
Regards,
Duane Hookom
Vevey Switzerland
To: MS_Access_Professionals@yahoogroups.com
From: MS_Access_Professionals@yahoogroups.com
Date: Thu, 1 Sep 2016 11:11:53 -0500
Subject: [MS_AccessPros] Email Addresses
I have a query that pulls the name of all the names of individuals that have an Individual Health Insurance policy with us. The query also pulls the associated email address.
This is all in the standard datasheet view. I am trying to figure out how to get the emails I a format that I can just copy into the address section of a Microsoft outlook email and send out one email to all our customers. (about 100 total)
Is there any way to extract these emails in a format that I can cut and paste into an email?
Bill
Minnesota
Access 2016
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 (11) |
Tidak ada komentar:
Posting Komentar