Re: Storage + New shared object

2018-09-02 Thread Keisuke Miyako via 4D_Tech
typo: $a.prop:="whatever" you can simply $a:="whatever" ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

Re: Storage + New shared object

2018-09-02 Thread Keisuke Miyako via 4D_Tech
as others have correctly pointed out, each sub-object or sub-collection you add to a shared object must themselves be shared objects or shared collection. regarding object notation: if you do something like $a:=New shared object $b:=New shared object("a";$a) then there is no need to

Re: Storage + New shared object

2018-09-02 Thread Kirk Brooks via 4D_Tech
David, You need to define the objects as shared objects. You will also want to use collections instead of arrays because I don't think you can have a shared array. This works without error : *C_COLLECTION*($DeleteRecord_ob) $DeleteRecord_ob:=*New shared collection*

Re: Storage + New shared object

2018-09-02 Thread Christian Sakowski via 4D_Tech
David, use the dot-Notation and use Collections as Arrays. -- Grüße/Regards, [heubach-media] | Christian Sakowski christian.sakow...@heubach-media.de iChat/AIM: SakowskiF Tel: +49/(0)40/52 10 59-23 > Am 02.09.2018 um 05:35 schrieb David Ringsmuth via 4D_Tech > <4d_tech@lists.4d.com>: > >

RE: Storage + New shared object

2018-09-01 Thread lists via 4D_Tech
End use Lahav -Original Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of David Ringsmuth via 4D_Tech Sent: Saturday, September 1, 2018 9:36 PM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: David Ringsmuth Subject: Storage + New shared object I’m trying t

Storage + New shared object

2018-09-01 Thread David Ringsmuth via 4D_Tech
I’m trying to add an object array to Storage. The documentation says that Objects can be a share storage value. I keep getting the message “Not supported value type in a shared object or shared collection.” In the below code I broke apart the assignments for easiest debugging. ARRAY