[ic] There is a list_prefix, is there a more_prefix?

Kevin Walsh interchange-users@icdevgroup.org
Tue Oct 15 02:15:02 2002


Tim Nelson [TNELSON@ECS-INC.com] wrote:
> 
> I have a query embedded within another query and the 
> more list seems not to work. I know that I can specify a 
> list_prefix, but I am not sure how to specify the inner queries
> more list.
> 
> #
> # Outer query
> #
> [query prefix=box list=1 sql="select code,name,sort from area [scratchd
> myarea] order by sort"]
> 
> ....
> ....
> 
>   [query list-prefix=foo more=1 ml=3 list=1 prefix=cat sql="select
> code,name,sort
>      from cat where sel = '[box-pos 0]' order by sort,name"]
> 	[foo]
> 		[set tmparg][cat-pos 1][/set]
> 		&nbsp;<A HREF="[area href=results interpolate=1
> arg="[scratch tmparg]"]" CLASS="
> 		barlink"><FONT COLOR="#FFFFFF">[cat-pos 1]</FONT></A><BR>
> 	[/foo]
> 
> 	[more-list]
> 		More: [more]  # THIS DOES NOTHING
> 	[/more-list]
> 
>   [/query]
> 
> [/query]
> 
Someone is bound to step in and correct me here, but I'm sure that you
can't use [more-list] in an inner query.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/