Hi!
I usually use the private data session for form in such case. What is the problem with private data session?
>Hi there,
>
>I've got this problem, I'm building a form with 2 grids on it. The grids are functioning fine when I use cursors for a datasource. The cursors are created and filled in the forms LOAD-method and set to be the datasources in the forms INIT-method. But....
>I want to be able to run more instances of the form and when I do so it's obvious that problems will occur when the new instance of the form wants to create new cursors.
>I tried to use the DataEnvironment-object but I don't know how to use it.
>
>My question is, is there a way to have multiple cursor around? Do I have to use the forms Private DataSession?
>To make it more difficult than it already is, I pass 2, selfcreated, dataobjects as parameters to the form.
>
>Any help on this subject is welcome, because I don't know what to do next :-(
>
>Erwin
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.