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 !!