Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report preview displays behind form
Message
De
08/09/2009 16:13:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Report preview displays behind form
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01423154
Message ID:
01423154
Vues:
88
I have upgraded a fox windows 2.6 project to vfp 9 sp2.

there is a .prg file that generates a report on the screen.


This preview is displaying behind the main screen of the app.

The main screen is frsmain. How do I reference frsmain from a .prg file so that I can make it invisible?

Or, is there another way to get the preview on top of the form?

I'd appreciate your help.

Deb
*******************************************************************************************************
The code that generates the preview is as follows:

sele prsys
set printer to (fisl)
set printer on
define window ww at 2,2 size srow()-2,scols()-2 close
acti wind ww

do liser
set printer off
set printer to
modi file (fisl) in wind ww

l=quest('Print')
if l
set printer on
set console off
do liser
set console on
set printer off
* wait wind 'print'
else
* wait wind 'no print'
ENDIF

deac wind ww
rele wind ww

*******************************************************************************************************
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform