Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return to report preview at print dialog screen
Message
De
01/12/2006 10:05:32
 
 
À
01/12/2006 09:47:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01174078
Message ID:
01174084
Vues:
12
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform