LOCAL loActiveUser AS UserBiz OF Security.VCX loActiveUser = oApp.oActiveUser loActiveUser.SomeMethod()It's more lines, but makes the code very easy to write and read.
>>>oApp = CREATEOBJECT( "myApplication" ) && also instantiates oMember1, oMember2... >>>>>>My question is, should other objects be able to 'directly' get hold of the member objects like so:
>>>oApp.oMember1.SomeMethod() >>>oApp.oMember2.SomeOtherMethod() >>>loMember1 = oApp.oMember1 >>>loMember1.SomeMethod() >>>>>>Or, should the Application Object provide an 'interface' to them, like so:
>>>oApp.SomeMethodofMember1() && will call This.oMember1.SomeMethod() >>>oApp.SomePropertyofMember1 && will access This.oMember1.SomeProperty >>> >>>oApp.SomeMethodofMember2() && will call This.oMember2.SomeMethod() >>>oApp.SomePropertyofMember2 && will access This.oMember2.SomeProperty >>>>>>Thanks In Advance