Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I detect print option from preview window
Message
De
04/07/2008 01:04:00
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01328556
Message ID:
01328937
Vues:
8
Hi Stuart,

where do you implement?
Result := _VFP.SetVar('llPrinted', SYS(2040)="2")
the line after report form ?

Result is .NULL., because _VFP.SetVar returns .NULL., so there is no need the ask for it's return

AFAIK You can not ask SYS(2040) after the report

Agnes
>Tried this but value returned is null
>
>
>
>set reportbehavior 80
>
>llPrinted := .F.
>
>report form myreport to printer prompt preview
>
>Result := _VFP.SetVar('llPrinted', SYS(2040)="2")
>
>
>
>
>Any other ideas
>
>Anges, Could not get your code to work either
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform