Rabu, 07 September 2016

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. 

 

 

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 (9)

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