Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you execute and create an RTF of a crystal report directly from VB

Status
Not open for further replies.

DrewM

Programmer
Oct 16, 2000
4
US
If so, I would love to know. Are there functions in the Crystal Library that allow you to automatically create an export without ever displaying the report?

Thanks,

Andy
 
If you use the Crystal Control on your form, just set the following properties:

cr_RptControl.PrintFileName = "c:\outPutFile.rtf"
cr_RptControl.PrintFileType = 15

the when you set Action = 1, it will generate the report directly to the disk, in RTF mode.
 
If you have V8, using the RDC technology gives you much better export options. To more formats, with more options.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top