[ic] Interchange link - SQL link ?

Jon Jensen interchange-users@interchange.redhat.com
Sat Dec 1 20:22:00 2001


On Sat, 1 Dec 2001, joachim.richter wrote:

> The biggest problem I am running into at the moment is changing the links.
>
> Because I don't know how to change a regular link to an SQL style link
>
> <a href="[area scan
> file=products
> st=sql
> co=1
> sf=category
> se=TEST
> ml=10
> ]"
> >CLICK ME</a>
>
> let's say this link points to the results page, do I build the results page like
>
> [search-region][list][sql-field category][sql-description][/list][/search-region] ?

Try this instead:

<a href="[area href=scan arg=|
	fi=products
	st=sql
	co=1
	sf=category
	se=TEST
	ml=10
|]">CLICK ME</a>

And on the results.html page:

[search-region]
	[search-list]
		[item-field category]: [item-description]<br>
	[/search-list]
[/search-region]

Of course you're going to have to have some entries in the category field
of products.txt that say exactly 'TEST'.

Jon