Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Macros > Using Dlookup f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 5632 of 5947
Post > Topic >>

Using Dlookup for SendObject Emails

by =?Utf-8?B?U1FMIEJyYWQ=?= <SQLBrad@[EMAIL PROTECTED] > Jul 14, 2008 at 06:18 PM

I want to make sure this will work before I rack my brains out!  I am
running 
an antique mall where we will have over 200 vendors.  I will get a
download 
of sales that will include a department number, item number and dollar 
amount.  My goal is to run a macro that will email each vendor their sales

from the prior day (assuming they had sales)....I have set up the
following 
two tables....

Department
Departmentnumber
email
name

Sales
departmentnumber
date
item
amount

I want to use the macro to send each vendor their information.  Here are
my 
questions:

1. Can I use dlookup to retrieve the email address asssociated with the 
departmentnumber?
2. Will I have to write a re****t for each of the 200 vendors? or can I
just 
use the dlookup to retrieve the sales amount?

Ideally, this is what would happen...
Assume in the example that I have the following departments with the 
following sales:

department 101, $100
department 103, $200

In this case, two emails would go separately when I run the macro..email 1

should say $100, etc.

I hope this makes sense.....

Also, assuming I can use dlookup, can you please help me with syntax for
the 
macro..

thanks in advance.
 




 7 Posts in Topic:
Using Dlookup for SendObject Emails
=?Utf-8?B?U1FMIEJyYWQ=?=   2008-07-14 18:18:00 
RE: Using Dlookup for SendObject Emails
=?Utf-8?B?U1FMIEJyYWQ=?=   2008-07-15 09:52:01 
RE: Using Dlookup for SendObject Emails
=?Utf-8?B?U1FMIEJyYWQ=?=   2008-07-15 10:16:00 
Re: Using Dlookup for SendObject Emails
Steve Schapel <schapel  2008-07-17 08:06:47 
Re: Using Dlookup for SendObject Emails
=?Utf-8?B?U1FMIEJyYWQ=?=   2008-07-16 20:32:00 
Re: Using Dlookup for SendObject Emails
Steve Schapel <schapel  2008-07-17 16:41:45 
Re: Using Dlookup for SendObject Emails
=?Utf-8?B?cmljb2dyYW5kZQ=  2008-10-06 12:37:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 10:06:46 CST 2008.