What a weird ’subject’ for this question. Sorry. Seems quite confusing.
———— Say that the “variable or expression” for a on-screen object is Form.LB.Browser.en_edit.FirstName This is entirely reasonable, as 4D’s ORDA has taught us to use such ‘expressions’ for the fields BUT in the script for this, there is no way to use Self (as there would be if it was a 4D variable) because it is an ATTRIBUTE of an object. This is stupid. It makes it impossible to write a script as simple as: Self->:= Uppercase(Self->) Because Self returns a nil pointer. So how on earth do we retrieve and set the value under these circumstances? [GENERICALLY; I do not want to use the object’s “expression” in the script] There is no such 4D method as OBJECT Get Value( ) OBJECT SET VALUE( ) If there were, we could write: OBJECT SET VALUE(*; OBJECT Get Name; Uppercase( OBJECT Get Value(Object Get Name) ) ) // really cumbersome, but is hypothetical because there is no ‘OBJECT GET / SET VALUE’ command. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

