Marco, I believe you don't want to set the array property directly. Instead,
you want to do something like the following:

getData( objectid of the parent )
appendArray( dataID )
setData.

Basically, you need to go through the parent type to set the array using
setData or createData. Otherwise you need to create your own query, as
FarCry doesn't (I believe) work with array tables except through the
original type.

Tomek

On Mon, Nov 2, 2009 at 6:50 PM, Marco van den Oever <
[email protected]> wrote:

>
> I don't get an error, it's a webtop list with code that executes on
> load.
> Am debugging with cfdump, this code seems to be the problem as when i
> cfdump an existing variable under it, it isn't dumped but the list
> loads.
>
> How can i debug better?
>
> On Nov 3, 12:22 am, modius <[email protected]> wrote:
> > What is the error?
> >
> > -- gb
> >
> > On Nov 3, 9:14 am, Marco van den Oever <[email protected]>
> > wrote:
> >
> > > Hi all,
> >
> > > I am trying to create a array record to bind 2 items by array:
> >
> > > <!--- set file and email objectid to emailberichten_aemailafbeeldingen
> > > array --->
> > > <cfset obj = createObject
> > >
> ('component',application.stcoapi.emailberichten_aemailafbeeldingen.typePath
> ) /
> >
> > > <cfset stprops = {} />
> > > <cfset stprops.data = emailantwoordobjectid_bindinguuid />
> > > <cfset stprops.parentid = emailberichten_aemailbestanden_bindinguuid /
> >
> > > <cfset stprops.seq = "1" />
> > > <cfset stprops.typename = "dmImage" />
> > > <cfset obj.createData(stProperties=stprops) />
> >
> > > All variables and table exists, any tips???
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to