Adding a date variable as subject (1 Viewer)

ChristopherL

Registered User.
Local time
Yesterday, 17:54
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
 

bob fitz

AWF VIP
Local time
Today, 01:54
Joined
May 23, 2011
Messages
4,726
I think you can use something like:
= "Report as of " & Date()
as the Control Source property of a text box on a report.
 

ChristopherL

Registered User.
Local time
Yesterday, 17:54
Joined
Jul 2, 2013
Messages
90
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
 

bob fitz

AWF VIP
Local time
Today, 01:54
Joined
May 23, 2011
Messages
4,726
I'm sorry, I misunderstood your requirement.
 

dcwaits2

New member
Local time
Yesterday, 17:54
Joined
Dec 26, 2013
Messages
3
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

Top Bottom