Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a different way to print??
Message
From
15/10/1999 08:38:25
Loren Fedje
Loren D. Fedje & Associates Ltd.
Chilliwack, British Columbia, Canada
 
 
To
14/10/1999 21:57:30
Carlos Serrano
Sistemas Imagen S. A.
Guayaquil, Ecuador
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00276676
Message ID:
00276766
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform