[ic] Data tag doesn't interpolate "foreign" arguments?

Jeff Boes jeff at endpoint.com
Fri Jul 7 08:58:32 EDT 2006


Stefan Hornburg wrote:
> Jeff Boes wrote:
>> I think I've isolated an inconsistency in the way the [data] tag
>> operates.
>>
>> [data table="foo" column="bar" foreign.fk1="[scratch abc]"]
>>
>> This syntax will attempt to retrieve a record from "foo" where the key
>> column "fk1" is the literal "[scratch abc]"; that is, arguments of the
>> "foreign" parameter are not interpolated. Is this a known problem?
>
> I suppose you need to use
>
> [data table="foo" column="bar" foreign=fkl key="[scratch abc]"]
>
But what it the foreign key has multiple parts? This doesn't appear to work:

[data table="foo" column="bar" foreign.0=fk1 foreign.1=fk2
key.0="[scratch abc]" key.1="[scratch xyz]"]

-- 
Jeffery Boes  <><
jeff at endpoint.com



More information about the interchange-users mailing list