Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 - Report using ReportListener
Message
 
 
To
04/10/2004 13:38:43
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00946484
Message ID:
00949248
Views:
14
Hi Hernan,

---
In the Render() procedure I call another procedure called Pie(), this is where I should have put SET TALK OFF
---

You don't really have to do it there. You need to set this up in BeforeReport() or LoadReport(), just move to the correct data session, SET TALK OFF, and restore session afterwards. Assuming you don't SET TALK ON again in the session in question, there is no reason to keep setting it off each time you Render.

I'm sorry, I still say that NOCONSOLE should *not* have any influence on an object-assisted report run using the base class ReportListener. It is of course entirely possible for your derived listener to evaluate the value of CommandClauses.NoConsole and change behavior based on this setting. But it does not affect the behavior of the base class.

>L<
Previous
Reply
Map
View

Click here to load this message in the networking platform