But if we use the SalReportPrint it all runs normal.
Does anybody know how we can prevent this crash with SalReportPrintToFile?
We're using 5.2 (SP3)
I've included an app with QRP and the examples
Tanks in Advance,
The problem isn't that the PDF already exists (if you delete it inbetween there is no problem, or if you close the application, restart it and do the print again, there is also no problem).
The problem is that CTD Crashes if you run the app twice (without closing it) when you print to a report with a '€' as a (part of a) value in a variable.
If you run the example, you'll see what I mean.
No issues running the app as an executable.
Is that right?
Code: Select all
Call SalReportPrintToFileEx( hWndForm, 'DummyEuro.QRP', 'DummyEuroEx.PDF', sVar, sInput, 1, RPT_PrintAll, -1, -1, 2,nErr , 2,1,0,0)
FontOption 2 (Import true type font for all strings) seems to work A-1.
Maybe that's a good enough workaround?
That seems to work, thanks for your answer.
Who is online
Users browsing this forum: [Ccbot] and 0 guests