Re: limiting found items

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38893
interpreted = N
texte = Just do the math :)If you find 500, but only plan on ever showing them 200, then check the numfound and if it is equal to or greater than your max, then show your max. If less than your max show the actual numfound.on 9/25/01 5:57 PM, Donovan Brooke at dbrooke@ehg.net wrote:> sorry I wasn't more specific. I have the max peramiter in the search along > with a shownext context. > > However, I have a numfound context that shows the user how many items were > found. I don't want > the customer to see this number and have them only get to max=x number. I > guess I am trying to stop > the loop when found records reaches a certain number. > > Thanks. > > Donovan Brooke wrote: > >> Hello, is there a way to limit found items per search rather than global >> preference? thanks. D >> >> -- Donovan D. Brooke >> Systems Administrator/ >> Assc. Art Director >> Epsen Hillmer Graphics ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: limiting found items (Samuel Renkert 2001)
  2. Re: limiting found items (Donovan Brooke 2001)
  3. Re: limiting found items (Donovan Brooke 2001)
  4. Re: limiting found items (John Peacock 2001)
  5. Re: limiting found items (dale 2001)
  6. Re: limiting found items (Will Starck 2001)
  7. Re: limiting found items (Donovan Brooke 2001)
  8. Re: limiting found items (Donovan Brooke 2001)
  9. Re: limiting found items (Nitai @ ComputerOil 2001)
  10. Re: limiting found items (dale 2001)
  11. limiting found items (Donovan Brooke 2001)
Just do the math :)If you find 500, but only plan on ever showing them 200, then check the numfound and if it is equal to or greater than your max, then show your max. If less than your max show the actual numfound.on 9/25/01 5:57 PM, Donovan Brooke at dbrooke@ehg.net wrote:> sorry I wasn't more specific. I have the max peramiter in the search along > with a shownext context. > > However, I have a numfound context that shows the user how many items were > found. I don't want > the customer to see this number and have them only get to max=x number. I > guess I am trying to stop > the loop when found records reaches a certain number. > > Thanks. > > Donovan Brooke wrote: > >> Hello, is there a way to limit found items per search rather than global >> preference? thanks. D >> >> -- Donovan D. Brooke >> Systems Administrator/ >> Assc. Art Director >> Epsen Hillmer Graphics ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ dale

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat is different user (1999) WebCat2.0 [format thousands .0f] no go (1997) Webmessage Hyperboard (1998) FEA REQ: One .hdr, multiple .db's (2003) [BULK] [WebDNA] File uploads using WebDNA (2010) Multiple Passwords (1997) UPS Shipping Formula in WebCat (ot) (1999) Sorry - the list went haywire... (1998) [WriteFile] problems (1997) OT : Java problems (2002) [sendmail] questions... (1997) Passing WebCat data to SSL server (1997) Confused about Grep Syntax (2004) Generating unique SKU from [cart] - Still Stumped... (1997) WebMerchant Error (1998) AppleScript: Tell application:app location? (1998) Multiple catalog databases and showcart (1997) Kaaaaahhhhhhhnnnnnnn! (1997) Calculating Shipping (1997) Close-to Comparison Code (1998)