Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a dynamic output filename for a report (ie. 2002-09-18.rpt)

Status
Not open for further replies.

CraigPark

Programmer
Mar 7, 2001
2
CA
I currently have some reports in Crystal Info that run on a recurring schedule. They all overwrite the existing output files when they run. I would like to be able to keep previous outputs from the report. Does anyone know of a way to have the reports output to a dynamically created filename? For example, a filename containing the date, such as 2002-09-18.rpt. Any suggestions would be appreciated.

Thanks,

Craig
 
If you're outputting to a FILE destination, of course they'll overwrite with the name specified.

As long as you're scheduling these, you should be able to look in the *history* for a given report and resurrect any instance that hasn't been deleted based on your settings for instance storage.

If your intent is to always have a user accesible folder wherein there's a complete history of the report (rather than have the user go through Seagate Info), I used to set up Exchange folders for this purpose, they're accesible to all (though you can apply security), and maintain the entire history.

If that's not an option for you, I think that you'll have to write code (Info API) to accomplish this.

-k kai@informeddatadecisions.com
 
You can also use the Info Storage Server to archive instances. It was introduced with Seagate Info 7, removed with 7.5 and then reintroduced with a patch for 7.5.
 
Thanks for the help. I think that I will look into the Seagate Info Storage Server option (we do not use Exchange).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top