Group:  Microsoft Access ยป microsoft.public.access.gettingstarted
Thread: emailing a report grouped

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

emailing a report grouped
mcwitz[ at ]gmail.com 25.07.2006 05:12:06
Sorry, I know this is confusing, but I have to believe I am not asking
for something crazy here. I have a database with 100 rows in it. Of
the 100 rows, most have the same customer, but the rows are different
because they have different products they are selling.
So, what i want to do, is create a single email to a given customer
with all their products on the page (meaning multiple rows in the table
in a single email).
Generally, you do this by grouping, but I can figure out how, once i
have this stuff grouped, to email it off to an email address in the
row. Any ideas???

RE: emailing a report grouped
Wayne-I-M 25.07.2006 07:26:02
Hi

I know this isn't what you want to hear but I would suggest that 1st you
create a new table [tblProducts] and link this to your customer's table with
a 1 to many relationship. This will make the e mails that you want to send
much easier. (link the [tblproducts] with [tblCustomers] by inserting the
[productID] in the [tblCustomers].

Press F1 for more help on relationships and how to create them.

If you don't want to do this run your email from a totals query to select
only one record for each customer and then run the e mails either from vba
(use DoCmd.SendObject) or create a send object macro.

Hope this helps
--
Wayne
Manchester, England.



"mcwitz[ at ]gmail.com" wrote:

[Quoted Text]
> Sorry, I know this is confusing, but I have to believe I am not asking
> for something crazy here. I have a database with 100 rows in it. Of
> the 100 rows, most have the same customer, but the rows are different
> because they have different products they are selling.
> So, what i want to do, is create a single email to a given customer
> with all their products on the page (meaning multiple rows in the table
> in a single email).
> Generally, you do this by grouping, but I can figure out how, once i
> have this stuff grouped, to email it off to an email address in the
> row. Any ideas???
>
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net