>hello Dragan
>
>your suggestion with passing the ds id as a parameter would not have a different effect, because my code does find the correct ds id, that works fine, but it does not switch it (set ds to) - this portion does not work.
May depend on where you issue the command. In my experience, it needs to be inside the method you're calling. If you're doing it somewhere in its parent's methods or anywhere - it will switch the datasession to the one in which it's created as soon as it (the method, that is) starts executing.
>as to Dorin's idea, i though he ment just to instantiate a new (2nd) object on the form level, therfor it's already in the correct ds. but maybe i missunderstood him. i'll try his/your suggestion.
>
>but i still would not be too crazy about it, because that would mean that i have to go through some code, find where oToolBox is called, see if this would be called from within a form (from a class attached to the form ie).
>
>so unless i can get the 'set ds to' command to work, it looks like i got a mess on my hand - either way.
Did anyone say it'll be easy?