cancel
Showing results for 
Search instead for 
Did you mean: 

Determine Run Time version

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

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

http://search.sap.com/notes?id=0001297369&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64...

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.

Former Member
0 Kudos

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!

former_member183750
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Thanks.  Don't need to be able to schedule it, just need to be able to run it, and export to Plain Text.

Matt

former_member183750
Active Contributor
0 Kudos

CR Developer than it will have to be. CR viewer does not refresh data, so that is out too.

- Ludek

Answers (0)