>>>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)