Re: limiting found items

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38897
interpreted = N
texte = Will Starck wrote:> > 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. > > > > So use the max=x to set the number of found items, and set a math variable > (without the show=f) as a counter incremented by 1 each pass through the > loop. > > >I guess I am trying to stop > >the loop when found records reaches a certain number. > > Well, which is it? Do you want a variable that only shows the number of > items they've displayed, or a loop that ends when they've reached x number > of founditems?Thanks Will, I think I will stick with a false variable... as looping through (a possible) 1500-2000 products doesn't seem to slow anything down. (assuming stopping a loop is a faster solution). -- Donovan D. Brooke Systems Administrator/ Assc. Art Director Epsen Hillmer GraphicsI know I'm making progress when I look at the questions I have asked in the past and think to myself... how stupid was that ------------------------------------------------------------- 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)
Will Starck wrote:> > 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. > > > > So use the max=x to set the number of found items, and set a math variable > (without the show=f) as a counter incremented by 1 each pass through the > loop. > > >I guess I am trying to stop > >the loop when found records reaches a certain number. > > Well, which is it? Do you want a variable that only shows the number of > items they've displayed, or a loop that ends when they've reached x number > of founditems?Thanks Will, I think I will stick with a false variable... as looping through (a possible) 1500-2000 products doesn't seem to slow anything down. (assuming stopping a loop is a faster solution). -- Donovan D. Brooke Systems Administrator/ Assc. Art Director Epsen Hillmer GraphicsI know I'm making progress when I look at the questions I have asked in the past and think to myself... how stupid was that ------------------------------------------------------------- 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/ Donovan Brooke

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:

Configuring E-mail (1997) Trunk-gator (1997) Order not created error (never mind) (1997) More than one db with the same namn (was: WC2f3) (1997) WebCat2 beta 11 - new prefs ... (1997) Smith Micro - no competition (2000) customizing the color of user's pages (1997) Fwd: Problems with Webcatalog Plug-in (1997) Bug? (1997) mail sent from webcatalog. accented chars! (1998) Credit Card Number checking (1997) insecure client not shown (1998) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) feature request.... [stop] (2000) different show next (1997) More DateMath problems (1997) WebCat2: Items xx to xx shown, etc. (1997) Scoping rules in WebDNA 4.0 (2000) Searchable WebCat (etc.) Docs ? (1997) Photo Album (2000)