Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppressing Printing in Preview Mode
Message
De
18/01/2001 13:11:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00465125
Message ID:
00465244
Vues:
21
>>>Try
REPORT FORM YourReport NOCONSOLE PREVIEW IN SCREEN TO FILE NUL
>>>instead.
>>>
>>>That will work.
>>>The output is then directed to the nul device which means that there is no output at all.
>>>You have to include the IN SCREEN or otherwise IN WINDOW windowname, or otherwise it will error on a missing comma. (probably a small bug in VFP.)
>>
>>Although the code will produce a preview window, the print feature is still enabled and working.
>

>Yes,
>
>but it prints to the NUL device so it will not come out of your printer

Not true. I does come out of the printer. Perhaps the NUL device has to be defined first?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform