Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return to report preview at print dialog screen
Message
From
01/12/2006 10:05:32
 
 
To
01/12/2006 09:47:19
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01174078
Message ID:
01174084
Views:
11
>hi, i am using the following code to preview and thereafter print the report.
>
>REPORT FORM myreport TO PRINTER PROMPT PREVIEW
>
>My problem is after launching the print dialog screen, it does not allow me to go back to report preview. I have to click the Cancel button and re-run the report. Any suggestion to overcome the problem.
>
>Thanks.

Well there's nothing to stop you having the following code:

REPORT FORM myreport TO PRINTER PROMPT PREVIEW
REPORT FORM myreport PREVIEW

or having a separate PREVIEW button.

Now,if you use SQL to get a cursor for the rpt, there's no need to run the code again.
Similarly, even if you use, say, a filter, to get the data for the rpt.

I don't see what the problem is.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform