Hi, Bill!
Follow Garretts advice and use the reports "private datasession" setting!
BTW: Some background infos about datasessions:
- Every object is unbreakable related to that datasession, which was the active datasession at the time of instantiation of the object!
That means all controls an a form are related to the forms datasession!
- To have a separate datasession for your report you have to associate a session object instead of aggregation:
ThisForm.oMyReportObject = CREATEOBJECT( "MyReportSessionClass" )
And all stuff you have coded in "MyReportSessionClass", e.g. the REPORT commend, runs in the separate private datasession!
SeBaFlu