Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a different way to print??
Message
De
15/10/1999 08:38:25
Loren Fedje
Loren D. Fedje & Associates Ltd.
Chilliwack, Colombie Britannique, Canada
 
 
À
14/10/1999 21:57:30
Carlos Serrano
Sistemas Imagen S. A.
Guayaquil, Équateur
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00276676
Message ID:
00276766
Vues:
24
Create a Public variable to store the name of the report "Myreport", initialize this variable with Myreport=" "
Place a Print... Item in your Menu - Perhaps under File.
Create a Proceedure for the Print Menu Item.
*the following will bring up the Windows Print Prompt.

IF myreport>" "
REPORT FORM &myreport TO PRINTER PROMPT NOCONSOLE
ENDI
*The following is required to restore your preview, strange things will happen if you don't.
IF myreport>" "
REPORT FORM &myreport PREVIEW NOWAIT
ENDI

When calling the report from the menu or a form do the following:

When you select the report store the name of the report to the variable myreport.
On selecting the report a screen is activated which allows me to do several things but also has an OK button and Close button.

On OK Click I have the following:

REPORT FORM &myreport PREVIEW NOWAIT

On Close Click do the following

RELEASE THISFORM
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform