Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Before 'n after
Message
From
28/06/2017 16:41:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FRX2Any
Title:
Before 'n after
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2016
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01652294
Message ID:
01652294
Views:
67
Hi All,

I've recently had to convert from the standard image converter to listener, and I'm getting this strange behaviour:
if I print to paper before creating images, then I get output with little (one record) or no data in the detail band.
If I skip the paper (report form (gcdocreport) for &filter to printer), or place the image routine call before the paper output,
it works fine. I'd leave it there, but I have some documents that require two different reports, so the first is OK,
but the second isn't. Because again, the second image prints after the first report, a totally different report!

And to make things weirder, this happens when run from a form using the default data session, while another
section of the app runs virtually the same code directly with no problem. This is where I suspect the problem lies,
because listener has its own data session, but I can't find it.

I've tried everything: filter/no filter different data sessions, reportbehavior 80/90...yada yada.
Is there maybe some "printer residue" leftover from the print cycle that's impacting the listener?

Any ideas?

Thanks.

Luke
Next
Reply
Map
View

Click here to load this message in the networking platform