Adding a date variable as subject

ChristopherL

Registered User.
Local time
Today, 01:36
Joined
Jul 2, 2013
Messages
90
Hi,
I am using a EmailDatabaseObject to send out a report for my job.
I want to add a date variable in the subject..
Is this possible?

Like
Code:
Report as of =date()

2nd. Question.. Can I attach two reports in the same mail?


Best Regards,
C
 
I think you can use something like:
= "Report as of " & Date()
as the Control Source property of a text box on a report.
 
I think you can use something like:
= "Report as of " & Date()
as the Control Source property of a text box on a report.

Thank you, but..
How will that affect the subject of the email? :P
 
I have a batch file call my macro that runs my reports. I write my reports out to .RTF and have a third party software utility (sendEmail) do the emailing. I can attach multiple .RTFs as attachments and insert variables from the command line in the subject & Body as needed.
 

Users who are viewing this thread

Back
Top Bottom