Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Listener Data Session Problem
Message
From
19/10/2008 08:28:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355732
Message ID:
01355755
Views:
21
>>>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?
>>
>>Could it be that you checked Private DS in the Report?
>>
>>See also Data Session Thread #979949
>
>I don't see how either of these help me. The reports don't use private sessions, and as soon as I step into the listener code, the data session changes.
>
>What good is a report listener if it changes the data session to one without the report's data open it??

I know hardly anything about ReportListener, but the fact of having a private datasession in the report often gives unexpected results. Especially if you prepare the data beforehand, as you have done. Make sure that the report datasession has no tables/views in it, and that "private datasession" is not selected.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform