Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report preview displays behind form
Message
From
08/09/2009 16:13:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Report preview displays behind form
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01423154
Message ID:
01423154
Views:
89
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

*******************************************************************************************************
Next
Reply
Map
View

Click here to load this message in the networking platform