Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close Report Preview?
Message
De
07/06/2018 11:33:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01660616
Message ID:
01660637
Vues:
69
>>>>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
>>>
>>>What is the 'frxpreviewform' in your code? I tried your approach with my name RepName but it did't close the preview window.
>>
>>I have defined Shift-F11 to be ox=Sys(1270). So I move the mouse over the preview window, press Shift-F11 and get that ox.name = 'frxpreviewform''. Maybe it depends... Note that I have removed the "Name RepName" part, I don't know if that changes anything?
>
>Yes, I removed NAME RepName from my code also. Now, that I see that Antonio's code works, but with the requirement for NOWAIT, I have to find to make the report work with NOWAIT. Since report depends on some Private variables, once the program moves ON, the variables are out of scope.

I still wonder why you don't use FoxyPreviewer, but I guess you have your reasons.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform