Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

ExportPDF freeze without any message

$
0
0

I use Crystal report for SAP B1 (crystal report Basic 2008)  in a visual studio 2005 vb application.

When I export the report in pdf nothing appends an no message appears.

Can anyone help me ...

 

 

      Try

            Etat = New CR_Etat

            Etat.FileName = PathRpt

            Etat.DBConnect()

            If ModeDebug >= 9 Then Console.WriteLine(" DEBUG ExportImpCarteBL Etat.DBConnect OK")

            Etat.Parameter("DocNum") = NumBl

            Etat.Parameter("LineNum") = LineNum

            Etat.Parameter("ItemCode") = ItemCode

            Etat.Parameter("CardNum") = CardNum

            Etat.Parameter("MontantCarte") = MontantBarcode

            If ModeDebug >= 9 Then Console.WriteLine(" DEBUG ExportImpCarteBL Etat.ExportPDF NOK")

            Etat.ExportPDF(PathExport)

            If ModeDebug >= 9 Then Console.WriteLine(" DEBUG ExportImpCarteBL  Etat.ExportPDF OK")

            Etat.Report.Close()

            If ModeDebug >= 9 Then Console.WriteLine(" DEBUG ExportImpCarteBL  Etat.Report.Close OK")

            Return True

 

 

The Log shows

...

DEBUG ExportImpCarteBL Etat.ExportPDF NOK

...

and nothing append after.

Restarting the application should sometimes resolve the problem!!!

Help !!


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>