I am exporting a report to an RTF file everything works great except the an export options box comes up and asks for the page range to export. What property do I need to set to get it to bypass this and export all pages.
With the OCX, there doesn't appear to be such a property. No matter what, that box comes up.
It's not a problem with the RDC technology, however. With these lines of code, you get no prompts.
Dim report As New CrystalReport1
report.ExportOptions.DestinationType = crEDTDiskFile
report.ExportOptions.DiskFileName = "foo.rtf"
report.ExportOptions.FormatType = crEFTRichText
report.Export False Brian J. Alves
Email: brian.alves@worldnet.att.net
VB / ASP / Crystal / SQLServer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.