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.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi