[ic] Sorting

Kevin Walsh interchange-users@interchange.redhat.com
Wed May 22 14:48:00 2002


> > >
> > > I want only return value on my column in OPTION tag.
> > > I wrote :
> > >
> > > [loop search="tf=mark/to=n"]<option value="[loop-item mark]">[loop-item
> > > mark]</option>[/loop]
> > >
> > > But all the fields of this column are listed. So i don't want two times the
> > > same field.
> > >
> > > [snip]
> > >
> > add these: rf=mark/un=yes
> >
> If i put this I have my combo Box with empty line !!!! So it doesn't work.
> The code now is :
> 
> [loop search="rf=marca/un=yes"]<option value="[loop-field mark]">[loop-field
> mark]</option>[/loop]
> 
> Perhaps i have made a mistake something ... i don't know but if i don't find
> i think i pass by a request SQL.
> 
When Ed said "add these" he was suggesting that you try
search="tf=mark/to=n/rf=marca/un=yes".

You could also change your [loop-field mark] tags to [loop-param mark].

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