on 09-17-2014 3:45 PM
Hi
I have a report that I run and export to an ASCII text file. Works fine in CR XI and CR 14.
Where I would like to put it to grant access to many Users is on a menu in an app we have that uses a CR runtime engine.
Problem is that when the report is run from here, TXT export is not an option.
Is this just an old version, or are there other restrictions that are place on a runtime? Anyone know how I can determine the runtime version?
There's an awful lot of fingerpointing going on, and I just need to get a daily, timely TXT file to send to the company on a daily basis.
Thanks,
Matt
Hi Matt,
Crystal Reports viewer does not list .TXT as an available export option. This behavior is by design.
Export to text feature is only available using SDK.
See this KB
You can use CrReportDocument.ExportToDisc method to export a report to text format.
For more information on APIs available for exporting, take a look at CR .NET SDK developer guide.
http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip
http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip
Sample applications are available here.
http://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal+Reports+for+.NET+SDK+Samples
If you would like to log an enhancement request, please log on to www.ideas.sap.com and submit an idea.
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay,
I'm not a programmer, nor do I care to go back there. I've tweaked a report in Crystal Reports Developer 2011 that exports nicely for my purposes. Client needs to see data blocked and at specific offsets, blah, blah.
If I need an end User at my company (CS Rep) to be able to run, and export, this on a daily basis, what would I need to purchase? Is my only option to purchase another copy of CR Developer? It works there, and developing an app just for this purpose is a little overkill.
Thanks!
Well, you'd need some scheduling app and then something to schedule - you will not be able to schedule the CR designer to run a report...
One obvious "scheduler" would be Crystal Reports Server. Eval is here:
SME Free Trials | SME Software | SAP
If you use some other scheduler, you will have to create some app to schedule it and the app will then run the report. The app need not be particularly difficult - possibly less that 10 lines of code (depends on the database connection).
I think if you google Ken Hamady, you may get a 3rd party scheduler there.
But that would be about it.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.