General information
Category:
Forms & Form designer
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only