Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
Hi Srdjan
I'm getting an error when I try to open the PDF file: "There was an error opening the document. The file is damaged and could not be repaired!" After investigating I found that this happens when the user previews the report ("report form tmprpt to printer prompt preview") and selects to print the report. I call your class after the preview report command and then it creates the PDF, but you can see the size is to small (1KB instead of 138KB) and if you try to open it, the above mentioned error is displayed.
Is there another command that I must include? If I preview the report and just close the preview, without printing, the file is created without errors and it can open. So, I don't think it is the preview, but rather the code that takes place when the user selects a printer. After the printer is selected the print preview screen is automatically closed.
Thanks again.
Irene
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement