Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 540
  • Last Modified:

File Name - Crystal Enterprise

Hi

Im running a report in crystal which needs to be output into .txt with a particular file name convention.

For example

TEST_YYYYMMDD_001.txt

Current im using the following (TEST_%SI_STARTTIME%_001.txt), but it outputs date and time. How can i format the date as '"YYYYMMDD".

Thanks
0
Zach5
Asked:
Zach5
1 Solution
 
Kurt ReinhardtCommented:
You have to do it manually while scheduling, which defeats the purpose of automatic recurring schedules or use some sort of batch file to change the file name after it's been created.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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