Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 - Report using ReportListener
Message
 
 
To
28/09/2004 22:12:23
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00946484
Message ID:
00947565
Views:
13
Hernan,

A couple of things I didn't remember to answer before I posted my first reply:


---
1 -- what session was the report listener created in?

The ReportListener is on the form, I guess it's session must be the form's session.
---



If you're getting this listener through OBJECT TYPE clause or otherwise through REPORTOUTPUT.APP, this may not be true, especially with the component refresh.



-----

*2 -- what session is the report data in ? (could be the form's session, could be private, could be a different one, could be the same as #1, might not be)

Private

-----



Your SET TALK OFF might not even have been in the right session -- this is what concerns me...



-----
*3 -- what session is the private FRX copy in ?

I don't know. I know that the ReportListener runs it's own session, but I don't know how to acces it.
------



That would be the ReportListener.FrxDataSsesion property <s>.

In general, since you're working with the ReportListener class, you will want to read the OA.HTM file from your reporting release notes to learn about its properties and behavior <s>.


-----
*4 -- what session was the report launched in ? (could be the same as #2, might not be)

The form's session, which is private
-----


This is why I'm concerned that the report listener may not be in the same session as the other sessions involved -- which further increases my concern about exactly WHICH data session everything (including data-session-scoped SET statements) might be happening in! <s>.



----
Anyway, the problemn is over with the old NOCONSOLE (sorry that everybody thought that this was a serious problemn, I thought that myself)
----



See previous reply...


---
And thanks
----



You're welcome! There is a lot to learn about ReportListeners <s>. Please ask questions when you get stuck (but do read the release notes <g>).

>L<

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform