do form myform name oMyForm linkThe variable oMyForm has to be in scope. Although many here will argue about the best way to do that, the way we do it is we declare form objects public in scope, like this.
public oMyForm do form myform name oMyForm linkThen from anywhere in the app you can call:
oMyForm.release