Print Error Returns Sql Statement
Hi,
How to understand what is the problem in?
I catch error like 'SELECT "FIled1", "Field2"... FROM "Table" WHERE "GIUDNO" = '......''
Error appears sometimes may be 4 of 10 attempts or 9/10 or 2/10
btEngine.Start();
// Open a format.
LabelFormatDocument btFormat = btEngine.Documents.Open(labelpath, printer);
((OLEDB)btFormat.DatabaseConnections[0]).SQLStatement = SQL;
btFormat.PrintSetup.IdenticalCopiesOfLabel = copies;
Messages btMessages;
// Print the format.
Result nResult = btFormat.Print("OUT Sticker", out btMessages);
...
0
-
I find out that problem appears after restart printspooler...
Restart server solve problem till restart printspooler
Diablery...0
Please sign in to leave a comment.
Comments
1 comment