>>I think your problems will come when you SET DATASESSION TO and the table you have as your grid's source is not open in that datasession.
>
>Yes, this would make sense.
>
>Here's again the operation steps.
>
>1. In the Init() of my form I do ThisForm.DataEnvironment.OpenTables()
>2. I then CREATE CURSOR USERCRIT...
>3. Assign USERCRIT alias to my grid
>4. Assign USERCRIT fields to my grid's fields
>5. Everything is ok, I see my grids will all the fields and am able to add records to it
>6. I click the button to start my report
>7. lnDataSession=ThisForm.DataSessionId
>8. SET DATA SESSION TO anotherdatasession
>9. This is where my grid becomes blank
Michel: Have you tried changing the datasession in the report, which could be set to private datasession? Or calling an intermediate (perhaps modal) form with its own datasession. If you left the form with the grid, then any Datasession changes wouldn't affect it.
Barbara