Hi Gunnar,
From the Help: SET DATASESSION typically is used to debug forms.
That is, IMO, is what it's for. When you create an object to do data stuff, it needs to be created in the same datasession in which you which to work. You may need one object that knows about manipulating data to live in your current DS, (and in every DS that needs this feature) and another that lives outside that can communicate with those objects in the DataSessions.
>
>i is just strange that the set ds to does not work - what is for then?
Charlie