cancel
Showing results for 
Search instead for 
Did you mean: 

Need to show all the Export Options (Formats and Destination) CryRepViewer

Former Member
0 Kudos

Hi Sir,

Good Morning. I need your valuable advise reg. Export options in CrystalReportViewer in VB.NET 2008

In our application, I am using Crystal Reports 2008 and VB.NET 2008.

Task : I need to provide all the Export options (Export Type as well as Export Destination).

Suppose if I click Export button on CrystalReportViewer, it shows save-as dialog window. There we have only format types but there is no type of destination like Application or DISK or Exchange Folder or MAPI).

In the crystal report, if you select File-Export--Export Report, then we can get Export Window (It has both Format as well as Destination). Like I need the same export window whenever i click Export button on CrsytalReportViewer.

Can you please guide me.

In my Older application, I was using VB6 and Crystal XI, But it was showing Format and Destination.

Format : (all for ex, RPT,PDF,XLS,XML,CSV,......)

Destination : (all like Application,DISK,Exchange Folder,MAPI)

Thanks in Advance

Deivanayaga Perumal D.

Accepted Solutions (1)

Accepted Solutions (1)

Adam_Stone
Active Contributor
0 Kudos

That functionality is not available, you would have to create your own way of accomplishing that.

Former Member
0 Kudos

Hi Sir, Thanks for your response. Customizing Export option is easy, but the problem is, i want to provide all the options not only for PDF or xls or disk. How to call the Export Report dialog from VB.NET 2008. Can you please guide me, it is very help full to me.

Thanks in Advance,

Deivanayaga Perumal D.

former_member184995
Active Contributor
0 Kudos

That functionality is not available in the .NET SDK.

You would have to create your own way of accomplishing that in code via a custom export page.

former_member183750
Active Contributor
0 Kudos

For an example see the sample app vbnet_win_export.zip here:

https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples

For a description of this functionality in CRVS2010, see the following blog:

Ludek

Former Member
0 Kudos

Hi Sir, Thanks for your prompt reply. Sir, Can you tell me why they dropped from .Net Sdk. In Crystal Report, Export Report options is available at File ---> Export -


> Export Report. It is giving Nicely all the options. We can select Export Type as well as Export Destination. But the same thing not avail in CrystalReportViewer in VB.NET. Atleast Can you tell me how to derive the Export Dialog window (What we seen in Crystal Report) in VB.NET, please guide me sir.

Thanks in Advance,

Deivanayaga Perumal D.

former_member183750
Active Contributor
0 Kudos

There is no way to "derive" the export dialog. You will have to create your own dialog \ form, populate it with the export options, allow the user to select the option and then do the export as per the sample app I suggested a few posts back. There is no "easy" way to slam dunk the dialog - but then creating a dialog from scratch should not be that difficult either(?).

As to why the export dialog changed - not a clue. Things change. In my old car, the radio kept playing until I opened the door to exit (even if I took out the key). I liked that. In the new model I bought last month, as soon as you remove the key, the radio goes off. Things change...

- Ludek

patrick_simons2
Participant
0 Kudos

Hi Ludek,

we have migrated our RDC App (CR XI R2) to VB.Net (CR 2008). Our customers criticize that the Export-Destination (to application) inside the new viewer has gone away - not good at all.

As you don't know the reason why the R&D changed this behavior, an alternative should be to submit an idea at the idea place.

What do you think? Could you do this - you are more influential as I....

BTW it's very annoying that they remove a useful functionality...

Patrick

former_member183750
Active Contributor
0 Kudos

Hello Patrick

I fully understand your and your customer frustrations.

Re-reading my previous post on this, it sounds like I was being pretty flip about it - did not mean to - probably too much coffee by that time of the day...

As to the Idea Place. It is actually the customer that is way, way more influential than us in TS. If you don't mind throwing a quick post to the [Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports], I promise to vote it up. The more votes, the more pressure on Program management. (I do go thorough the Idea Place regularly and add my voice where appropriate.)

Have a great weekend,

- Ludek

patrick_simons2
Participant
0 Kudos

The idea has been submitted.

former_member183750
Active Contributor
0 Kudos

And one up

- Ludek

Answers (0)