Hi David,

I haven’t tried storing an object array as the top level in a field, but have 
done it a lot one level down. For example:

C_OBJECT($oInfo)
ARRAY OBJECT($aoFacts;0)

//...Create facts and append them to $aoFacts...

OBJ_Set_Array($oInfo;”Facts”;->$aoFacts)
[Table] ObjectField:=$oInfo
SAVE RECORD([Table])

Unless I’ve misunderstood….

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<[email protected]>
<www.synergyfarmsolutions.com>


> On Jul 8, 2017, at 7:47 PM, David Adams via 4D_Tech <[email protected]> 
> wrote:
> 
> ...I've got some summary data I'm storing in a fact table and want to stash
> an array of objects in an object field.

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to