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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal cannot programmatically be exported to word in vbscript

Status
Not open for further replies.

tydee

Programmer
Feb 4, 2010
6
ZA
Hello

I am trying to export from crystal report to word but
it booms out on Crystal.Export
Crystal.ExportOptions.DestinationType = 1 'crEDTDiskFile constants for value 1
Crystal.ExportOptions.FormatType = 14 'crEFTWordForWindows
Crystal.ExportOptions.DiskFileName = Path & NewFilename
Crystal.exportOptions.ExportFormatType = 1
Crystal.Export false 'Exporting without user Interaction

got the folowing error

Active Server Pages error 'ASP 0115'

Unexpected error

/SiteName/ExportingCrystatoWord.asp

A trappable error (C0000005) occurred in an external object. The script cannot continue running.


If possible please send me some code.

Am using Crystal 9 and ms word 2002
please help
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top