EMAIL SUBJECT

K

koja

Can somebody help me with this problem....?
I have to send an e-mail every day with a microsoft access 97.
Is it possible to configure access to adjust a subject of this email related
to it's daily changing content. The subject should be automatically extracted
from a field in an query.
Thank you!
 
A

Arvin Meyer

koja said:
Can somebody help me with this problem....?
I have to send an e-mail every day with a microsoft access 97.
Is it possible to configure access to adjust a subject of this email related
to it's daily changing content. The subject should be automatically extracted
from a field in an query.
Thank you!

First download the code at:

http://www.datastrat.com/Code/MultipleEmail.txt

Then change this line:

.Subject = strSubject

to the query field in the recordset, like:

.Subject = "Invoice for: " & rst!ContactName

or possibly:

.Subject = strSubject & " " & rst!ContactName

if you're using a form variable or code variable.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top