P pnp May 25, 2005 #1 How can I control the filetypes that a report, displayed in the crystal report viewer, can be saved as ? Thanks in advance, peter
How can I control the filetypes that a report, displayed in the crystal report viewer, can be saved as ? Thanks in advance, peter
C Charles A. Lackman May 25, 2005 #2 Hello, Here are some VB Code samples for exporting. CrReport.ExportToDisk(ExportFormatType.PortableDocFormat, PrintFileName) CrReport.ExportToDisk(ExportFormatType.RichText, PrintFileName) CrReport.ExportToDisk(ExportFormatType.WordForWindows, PrintFileName) CrReport.ExportToDisk(ExportFormatType.HTML40, PrintFileName) Hope this helps. Chuck How can I control the filetypes that a report, displayed in the crystal report viewer, can be saved as ? Thanks in advance, peter
Hello, Here are some VB Code samples for exporting. CrReport.ExportToDisk(ExportFormatType.PortableDocFormat, PrintFileName) CrReport.ExportToDisk(ExportFormatType.RichText, PrintFileName) CrReport.ExportToDisk(ExportFormatType.WordForWindows, PrintFileName) CrReport.ExportToDisk(ExportFormatType.HTML40, PrintFileName) Hope this helps. Chuck How can I control the filetypes that a report, displayed in the crystal report viewer, can be saved as ? Thanks in advance, peter