[ic] Only 50 returned by [loop search ...] ???

Stefan Hornburg interchange-users@icdevgroup.org
Sun Nov 17 05:15:01 2002


On Sun, 17 Nov 2002 03:37:15 -0500
"Philip Alves" <webmaster@iyb.ca> wrote:

> I'm perplexed.  If I do this...
> 
> <SELECT NAME="shipto" onChange="this.form.submit()">
> <option>Select One
> [loop search="fi=shiptos.txt/st=text/sf=username/se=[data session
> username]/ra=yes/op=eq/co=yes/rf=store_number,address1"]
> <option value="[loop-code]" [selected shipto [loop-code]]>[loop-param
> address1]
> [/loop]
> </select>
> 
> ...it works as it should, except it only returns 51 options; one for 'Select
> One' and 50 generated by the loop search.  It should be returning a lot more
> in some cases.  As an example, in my shiptos.txt, I have one customer with
> 116 different entries, but only 50 get returned in this select box.
> 
> I've searched the docs and the archives, but can't seem to find anything.
> Is this a bug, or is it supposed to work this way?  Is there something I'm
> not doing which will make my woes disappear?

You need to add the maximum of returned items with ml=MAX, which happens
to have 50 as default.

Bye
        Racke