>I am calling one form from another form (do form "sample.scx"). The form comes on screen but is not loaded into memory, since that form calls another form that then goes back to that form "sample.scx" I get the error that the object (form "sample.scx") does not exist.
>
>I traced it in the debugger, when the first form loads, I see it as an object in the debugger, when it calls the second form "sample.scx" the second form shows up on the screen but is not listed as an object in memory, therefore.. it doesn't exist. Can anyone help with this situation?
The name of your object is not "sample.scx".
If you're starting your first form from the command window, you will see a variable reference to the first form's object, matching your form name. If you start your first form from a .PRG, you will not see either of your form's objects with the debugger. If you look in the debugger using _SCREEN.ActiveForm, you will be able to see both forms, depending on which one is the currently selected form.
What is it you are trying to do?