David, is this all I have to do is to set the THISFORM.DataSession = 2 to have a private data session? Do I have to set up a DataEnvironment or anything else? The way I understand what you are saying is that when my SQLEXEC() function returns a cursor which I named 'curUsers' that that cursor is private and no other processes know anything about it. The name I give it, 'curUsers' can then be used in another instance of this same form or in another form that does the same thing and call that cursor 'curUsers'. Both cursors named 'curUsers' can exist in the same instance of VFP and are only known by the program/process that created them? There is no name conflict? If this is the case it's way too easy!
Jim White
Time is a wonderful teacher. Unfortunately it kills all of its students.