Information générale
Catégorie:
Gestionnaire d'écran & Écrans
The solution involves defining a window and then previewing the report in that window. Try a search on "print preview top" You will see several matches going back to 1998.
>I've encountered a problem in trying to print a report from within a form. I've done this a million times and can't understand what would cause this problem.
>
>The command is: Report Form Errrept Preview
>
>Simple, huh? It executes just fine from the Command Window. It's counterpart to this routine (Report Form Errrept to Printer NoConsole) executes perfectly.
>
>I believe it has something to do with the form properties. The properties that could affect this situation are: Alwaysontop = .T. (Which I set to .F. before executing the Report Form instruction), and ShowWindow as Top Level Form . I believe it has to do with the ShowWindow property, however, if I don't leave it as a Top Level Form, when my form is called, it appears behind the calling form. How can I get around this without altering the ShowWindow property (if that is in fact my problem)?
>
>Any assistance would be greatly appreciated.
>
>TIA
>
>Barry
Précédent
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