I had the reference to the Crystal Report 8 Engine in my VB Project. I removed the reference and tried late binding, but I got the same error message:
Run-time Error 30012
"Invalid Enum Value"
I have tried this
report.ExportOptions.FormatType = 31
and I get an error when I try executing that line.
Run-time Error 30012
"Invalid Enum Value"
I have code snippet that will write out a word document from crystal reports. Does anyone know what changes would be needed to write out a pdf format instead of word?? Here is my code:
Dim app As Application
Dim report As report
Set app = CreateObject("Crystal.CRPE.Application")
Set...
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.