Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know if the user printed from the preview ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00111544
Message ID:
00111889
Vues:
18
>>Hello to everybody, I've been out for a long time, but I'm
>>back.
>>Somebody knows a way to check if user clicked on the
>>print button while previewing a report ?
>>I use to do this in the old days :
>>
>>REPORT FORM MyReport PREVIEW NOCONSOLE
>>REPORT FORM MyReport TO PRINTER PROMPT NOCONSOLE
>>
>>But now I in 5.0 the user can print from the preview, and
>>when that happens I don't want the second line of code
>>to be executed
>>=this.thanks("in advance")
>
>Probably, now you can just remove the second line :). If your users will request to get into print setup dialog, you can add a button with =SYS(1037) on your form.

Thanks Edward, your idea is good, but they want to have both,
lets say that after previewing they click on cancel by mistake,
they still want to be able to print without running the
report again.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform