How to delete or overwrite an attachment file

F

FSHOTT

Can someone tell me how to delete or overwrite an attachment file which is
created in the process of e-mailing a message with the attachemnt from ACCESS?
I create a report which I want to attach to an MS Outlook e-mail message.
In looping through the recipients I get a warning message to overwrite the
attachment file. I would like to either delete the attachment after being
sent or get rid of the warning message and overwrite the file with the newest
one.
 
C

Clifford Bass

Hi Frank,

You could use the Kill statement:

Kill "myfile.txt"

Clifford Bass
 
F

FSHOTT

Clifford Thank You for your response. It looks like the Kill statement will
do the job.
 

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