Information générale
Catégorie:
Codage, syntaxe et commandes
David
I thought about using REPORT PREVIEW without the fox desktop but stopped
after reading the following KB article :
Article ID: Q156237 The information in this article applies to:
•Microsoft Visual FoxPro for Windows, version 5.0
SYMPTOMS
If REPORT FORM PREVIEW or MODIFY REPORT is called
from an SDI or top-level form (form with the ShowWindow property set to 2),
the Report Preview or Report Designer does not appear if the Visual FoxPro
desktop is hidden.
WORKAROUND
Make the Visual FoxPro desktop visible (_SCREEN.Visible = .T.) and display
the Report Designer or preview and hide the Visual FoxPro desktop
(_SCREEN.Visible = .F.) after the Report Designer or Preview has been
closed.
STATUS
behavior is by design.
MORE INFORMATION
The Page Preview and Report Designer windows are being created as a child
window of the Visual FoxPro desktop. Since the desktop is not visible, the
Page Preview and Report Designer windows cannot be visible. each of
these windows has toolbars that require the Visual FoxPro desktop in order
for them to be displayed.
> Try this:
> DEFINE a window to hold your preview and make this window scoped to the
> Desktop. Then issue the command:
>
> REPORT FORM MyForm PREVIEW WINDOW MyWindow
>
> (This description is obviusly the short form. I can describe the process
at
> length if you wish...)
>
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