Crystal Reports Online Training

Learn Online, Anytime, Anywhere

Step-by-step tutorials and online videos.

Click Here To Learn More »

19.10 Exporting to Exchange Folders

Exporting to Exchange Folders

Crystal Reports lets you export a report to an Exchange folder. Table 19-8 shows the properties that need to be set for this to work.

Table 19-8. ExchangeFolderDestinationOptions Properties.

Property Description
DestinationType The export destination type
FolderPath The path of the Exchange folder
Password The Exchange password
Profile The user profile for accessing the Exchange folder

Listing 19-5. Export a report to an Exchange folder.
Public Sub ExportToExchange(ByVal myReport As CrystalDecisions.CrystalReports.Engine.ReportDocument, ByVal FolderPath As String, ByVal Password As String, ByVal Profile As String)
'Set the destination type to ExchangeFolder
Dim myExportOptions As New CrystalDecisions.Shared.ExportOptions
myExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.ExchangeFolder
myExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
'Instantiate an ExchangeFolder options object and set its properties
Dim myOptions As CrystalDecisions.Shared.ExchangeFolderDestinationOptions

Get UNLIMITED Crystal Reports Online Training!

Click Here To Start Your Training!

1500+ Tutorial Pages

Complete Crystal Reports Online Training with over 1,500 pages of better than book quality Crystal Reports tutorials.

Step-by-step Online Videos

Learn at your own pace from the comfort of your home! Pause, rewind and watch online training videos anytime!

Online Community

Members-only community where you can post and answer questions. The community is checked on a regular basis by best selling Crystal Reports book author Brian Bischof to help answer your questions.

Cut & Paste Source Code

Save time with simple cut and paste source code you can use right now in your next report!

Click Here To Start Your Training!