Sorry, I wasn't clear.
I have a form already with it's own private data session.
I want to have a button on the form create another private data session, run a report from the new data session, then close the new data session.
I'm trying to duplicate the report's private data session, but I need to maninupulate the view the report uses, and I don't want it cluttering up the form's data session.
>Set the Form's DataSession property to 2 - Private Data Session.
>
>>I want to create a private datasession and print a report from it.
>>
>>The user would select different parameters on a form, then click a button and the report would print from a private data session (and release itself when done).
>>
>>In a prg I "DEFINE CLASS DS as SESSION", and it works from the command window, but I can't get it to work in a form.
Bill Morris