If you want to call a method of the form independetly of the form than put code into a separate program/class and call it from the form or anywhere else.
>I'm afraid I haven't been specific. The forms are document-type forms which exist external (stand alone) to the app. Each has a method peculiar to that form, and they can vary from site to site. I want to access that method.
>
>Ideally, I'd like to create an object of the form, i.e. store this to oMyform, and call the method, oMyform.ttlinv, without actually running the form (or it's init), a sort of class on the fly. I know there'll problems with the DE but those can been handled. I've been trying the DEFINE CLASS, CREATEOBJECT route without success. I think it's a matter of getting the syntax right. That's what I need help with.
>
>Luke
--sb--