oApp = CREATEOBJECT ("myApplicationClass") --> also instantiates oFormsMgr, oConnMgr oApp.oFormsMgr.MyMethod() oApp.oConnMgr.SomeOtherMethod()or can exists 'stand-alone', like so:
oApp = CREATEOBJECT ("myApplicationClass") IF NOT oApp.Connect() MESSAGEBOX( 'Unable to connect' ) ** do whatever else ENDIF PROCEDURE Connect LOCAL llResult oConnMgr = CREATEOBJECT( 'myConnectionMgr' ) llResult = oConnMgr.Connect() RETURN lnResultThanks in Advance