Message
From
05/12/2006 16:42:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Problems with no Preview Window showing
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01175037
Message ID:
01175037
Views:
63
Hi Everyone,

Not sure how to debug this one further: users have a printout that they can Preview and it works fine on my desktop - in developer mode. Move it to the server though and the preview does not show up. I can tell that "something" happens because I have a bunch of WAIT WINDOWs that fly by as it is doing a wack of calculations.

- if I step through it on the server (running the .exe from my desktop), preview works
- if I run the exe from VFP on my desktop (with no debug happening), no preview window
- it is a VFP9 report and it uses a report listener
- the listener type is indeed being set to 1
- here is the code that fires the report
REPORT FORM (.icTempFrxFileName) TO PRINTER &lcPrintDialogClause ;
   &lcPreviewClause NOCONSOLE ;
   OBJECT loReportListener
where lcPrintDialogClause contains "PROMPT" and lcPreviewClause contains "PREVIEW".

At a loss as to how to debug further because with debugging on, it works but when off, somehow it doesn't.

Thanks,

Albert
Next
Reply
Map
View