In that case use DO FORM formname NAME oFormName - this will give you an object reference variable of oFormName - here you can query oFormName.Name to return the form's name.
You could also use an array element for the object reference but this will have to exist already.
>That was quick. What I am trying to do may not be worth doing this way, but I'd like to know if it's possible. Part of the idea here is not to have to redo my whole application. I figure there have to be uses for the hypothetical functions I'm looking for. The function I have given has already proved useful to me.
>
>>The best way to do this would be to save your forms as classes and use CreateObject or NewObject to create an instance of your form.
>>