The 'oFormRef.cMenuName' has to be on the right site of the assigment to generate the error Alias 'OFORMREF' is not found.
>Great, now I know it's in the cleanup section of my menus, like
>
>
>oFormRef.cMenuName = m.cMenuName
>
>
>I have a feeling that this is misleading, since the error seems to occur because some object on the form is not properly instantiated.
>
>Would be nice if the message were 'Object MyObject failed to instantiate' or something to that effect.
>
--sb--