Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Print Preview displays in Top Level Form - not _Screen
Versions des environnements
In VFP 6 this was not a problem. This problem has come up since we converted to VFP 9. The code has not changed.
Our application is running in a top level form. Whenever there are reports to print or preview we have a .prg (that is built into the exe) issue a _screen.visible = .t., then REPORT FORM rpt001b.frx &M_print. This works fine except if we choose to preview the report and it is a multiple part report - meaning that there will be 2 parts so there will be 2 _screen.visible and 2 REPORT FORMs in the same .prg right after each other.
The first time previewing from the exe, all the multiple parts open in the _screen. But after the first time previewing, then all multiple part reports show the same behavior - the first part previews in the _screen and all other parts preview in the top level form.
_screen.visible = .t.
REPORT FORM rpt001b.frx &M_print
** do not close the window between parts as it makes the client jump back ** and forth
_screen.visible = .t.
REPORT FORM rpt001b.frx &M_print
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