Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close Report Preview?
Message
De
07/06/2018 10:42:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01660616
Message ID:
01660628
Vues:
53
>>Hi,
>>
>>(This thread is a change to the Form Created with Define Window thread). I found that Define Window is not a problem.
>>
>>The problem occurs when the program shows a report in Preview Mode, I need to find it (this preview window) and close it; programatically. As if the user actually clicked on the Exit icon of the Report Preview toolbar.
>>
>>Is this possible? How?
>>
>>TIA.
>
>This is a simple code of previewing a report:
>
>
>REPORT FORM TestReport TO PRINTER PROMPT PREVIEW NAME RepName NOWAIT 
>
>MESSAGEBOX("This message indicates that the report is being previewed; it is still open")
>
>*-- !!! Big question. How would you close the report preview here PROGRAMATICALLY?   
>
REPORT FORM TestReport TO PRINTER PROMPT PREVIEW NOWAIT 
MESSAGEBOX("This message indicates that the report is being previewed; it is still open")
Deactivate Window frxpreviewform
Release Windows frxpreviewform
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform