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-2000products doesn't seem to slow anything down. (assuming stopping a loop is a fastersolution).-- Donovan D. BrookeSystems Administrator/Assc. Art DirectorEpsen Hillmer GraphicsI know I'm making progress when I look at the questions I haveasked 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:
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-2000products doesn't seem to slow anything down. (assuming stopping a loop is a fastersolution).-- Donovan D. BrookeSystems Administrator/Assc. Art DirectorEpsen Hillmer GraphicsI know I'm making progress when I look at the questions I haveasked 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:
WebCat 5 Intranet Question (Redakto CMS) (2003)
Sending E-mail (1997)
SendMail context not working on CentOS 4 (2007)
Nested tags count question (1997)
Re:Dumb Question about Docs (1997)
[lineitems] and [writefile] (1998)
Error (1997)
Subtotal Not Calculated on Invoice.html (1998)
It just Does't add up!!! (1997)
re: emailer prob (1998)
Multiple Sendmail Tags on One Page (2008)
Signal Raised error (1997)
Running _every_ page through WebCat ? (1997)
[WebDNA] macOS 10.13.3 and WebDNA Mac Server 8.5.1 - hick-up (2019)
is there a global includes directory? (1998)
WC1.6 to WC2 date formatting (1997)
Webmerchant 2.1.3 startup questions, please (1999)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Purchase command error problem (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)