Hi Jim...
What is the error and on what line does it blow? It appears you are confusing the classlib and class name. Is there a form class within the "Jim" class called "Searchform"? If so, try a different classlib alias.
>What is wrong with the code below? I am trying to call an existing class.
>
> SET CLASSLIB TO 'c:\Jim\Jim' ALIAS Searchform
> frmSearch = CREATEOBJECT('Searchform')
> frmsearch.show
> read events
>
>Thanks
>
>Jim
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05