>Looks like it is choking on the release library statement.
>
>My Function follows
>---------------------------------------------------------------------
>set classlibr to x
>
>o = createobject(myform) && which has the function finduser
> && also myform is modal
>
>release libr x <----Choking right here...
>---------------------------------------------------------------------
Change to:
RELEASE CLASSLIB x
Good Luck