Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement