Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Listener Data Session Problem
Message
 
À
20/10/2008 04:58:09
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01355732
Message ID:
01356118
Vues:
27
Ok, maybe I just don't understand the issue here. The moment I step into Listener.RunReports, before any listener code runs, the data session changes, so the report's data is no longer available.

I went through the _ReportListener class and looked for instances of SET DATASESSION. I found only one, in AddReport, that was not being reset. so I added code to save & restore the data session. This had no effect. I still get prompted for the table.





>Kevin,
>
>the Reportlistener sets and resets datasessisn during its life. Sometime it does not reset correctly. You need to open the listeners in the vcx (this in XSource) search for SET DATASESSION and make shure the datasession is closed corectly before a method ends.
>
>Recompile the listener app - and do not miss to ship it with your app.
>
>I've done a thread over this a while ago, but I'm not a subscriber, so it's hard to search. Just search my messages back xoursel, it must be somewhere.
>
>Agnes
>>I am running a report, and before I do, I open the data for the report. The report's data is open in session #4.
>>When the report listener runs, it changes data sessions, so I'm now getting prompted for the table.
>>
>>Anyone know what to do about this?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform