• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Programming the Export Files to PDF format

When I export my crystal report to PDF format , I want to control and program the file name, example if my customer code is ABC123, I want the file name to appear as ABC123.PDF when I choice to export my report to PDF
0
assaadrezk
Asked:
assaadrezk
  • 2
  • 2
1 Solution
 
UnifiedISCommented:
From where are you exporting the report?
0
 
assaadrezkAuthor Commented:
From Crystal Report 10
when I Run the report in VB.Net application
0
 
UnifiedISCommented:
reportdocument.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat,filepath)
0
 
mlmccCommented:
Agree.  One of the options in the export options is the export filename.  You can set it to anything you need.

mlmcc
0
 
assaadrezkAuthor Commented:
Thanks Unifiedls , that solved the problem.
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now