On Wed, Feb 5, 2020 at 7:04 PM Add Komoncharoensiri via 4D_Tech < 4d_tech@lists.4d.com> wrote:
> Just a little modification from Peter's code > > Instead of defining an object attribute in the Variable and Expression, > leave it blank so 4D will generate a dynamic variable for it. In the object > method, you just need to execute the following when the On Data Change > occurs. > > Case of > : (FORM Event=On Data Change) > Form.en_edit.contact:=Self-> > End case > > The second part of my code deal with initialisation of dynamic variable from Form.en_edit.contact. Peter Bozek ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************