Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell when report is sent to a printer?
Message
 
 
À
14/06/2004 11:43:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00913498
Message ID:
00913503
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Hi Stefan,

In VFP8 you can use SYS(2040) function to determine if report is previewed or printed.

>We need to track which reports have been sent to a printer instead of having been merely previewed, so that it can be added either to the 'to print' list or the 'already printed' list for example.
>
>I seem to remember that in VFP7 or VFP8 some functionality was added so that the report could tell reliably whether it was being previewed or being printed, but I cannot find it in the docs or in the UT FAQ. Am I chasing a ghost or is there some functionality like that?
>
>So far the only thing I can think of is the good old WEXIST("Printing...") trick but I don't like it very much as it seems a bit brittle.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform