Edward,
You need
< % and %>
(the space after the < is to keep the UT parser from mangling the escape sequence) brackets around all of the executable code in the asp page. From what I see you aren't properly closing them.
>I see what everyone is saying, but for some reason something is not working right. If I run getcompanylist() from a VFP form and return it to a edit box it works fine. However if I call it from an asp page I get this error. If I enclose it in a form it still returns the same error. Any ideas?
>
>Error Type:
>ad.setregistry ad.setregistry (0x800A0792)
>setregistry.getcompanylist c:\windows\classes\setregistry.vct Error in line 11 Object is not contained in a FORM. 1938
>/directory/directoryadmin.asp, line 28