• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1809
  • Last Modified:

Customising report description when sending via email using simialr to %SI_STARTTIME%

Currently using CE9.0 sending the reports out via email and wish to customise the .rpt name with a date.

In the Destination Tab you can either select Default File Name or Specified File Name.

I wish to specify Name / Date / extension - so when the file gets delivered by email then it should appear like ReportA.03.09.2004.rpt

I know that I need to use %SI_NAME% for the name and .%EXT% for the extension but what about Date only?

I have tried the %SI_STARTTIME% but this gives Date and Time - just wish to have date.

THX in advance.
0
RichardStarkey
Asked:
RichardStarkey
1 Solution
 
frodomanCommented:
Richard,

As far as I know there's no way to do this with CE.  You could check some third party packages - I don't know specifically but I wouldn't be surprised if Visual Cut or others supported this (check here for a few reputable ones: http://www.kenhamady.com/bookmarks.html ).

frodoman
0
 
Kurt ReinhardtCommented:
You won't be able to create just the date without some custom code or without hardcoding it in for every run.  I do wish there was just a date option, but unfortunately there isn't.  Additionally, you don't have the option of formatting the date in the manner you've specified.

The Datetime field is there to give the administrator the ability to differentiate between reports of the same name that may have been generated on the same date.

In your case you should probably create your report using:

%SI_NAME%_%SI_STARTTIME%.rpt

~Kurt

0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now