|
hzarabet -> RE: DIM in a DRW (8/18/2002 19:59:19)
|
OK. Here we go... 1. I have a table called Promoters. Maybe 600 or so records. Of these 600 promoters, I want to send a mass email to about 300 of them. 2. I have a table called P2P. It contains the text of the message I want to mass mail. On top of that, I am ALSO pulling in information from the above mentioned Promoters table with regards to the individual promoter who is sponsoring the mass email. His email address, phone number, Name, etc. So the CDONTS will contain text from P2P and Promoter information from the Promoters table. I have 2 SQL queries. One is to call the 300 emails from Promoters. The other is an INNER JOIN tying in the promoter info with the text of the message. I was trying to use a DIM with the results of the first query (calling the emails) and place the DIM inside the " To" portion of the CDONTS, attempting to plug in all 300 emails into the " To" . As you know, it didn' t work. So the problem is, I can' t think of a way to do this without using 2 individual SQL queries. And if I use 2 individual SQL queries, I can' t place the DIM in the " To" portion of the CDONTS. Now if all else fails, I can do it the " old fashioned" way and just cut & Paste the 300 emails into the BCC of my Email programs and do it that way instead of with a CDONTS. But, hey, this way is a challenge [:p]
|
|
|
|