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

Stefan Hornburg racke at linuxia.de
Fri Jul 7 09:14:03 EDT 2006

Jeff Boes wrote:
> Stefan Hornburg wrote:
>>Jeff Boes wrote:
>>>I think I've isolated an inconsistency in the way the [data] tag
>>>[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]"]

Foreign keys in your database and the foreign parameter are two 
different things. Use [query] instead.


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list