Re: limiting found items

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38894
interpreted = N
texte = Donovan Brooke 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. > Then don't show them the [numfound] unless it is smaller than [max]. I would actually do something like this:[if [numfound]>[max]] [then]Showing first [max] records[/then] [else]Showing [numfound] records[/else] [/if]If you are concerned about limiting the number of [shownext] links displayed on a page, you need to look at the docs for the max parameter to [shownext].John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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)
Donovan Brooke 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. > Then don't show them the [numfound] unless it is smaller than [max]. I would actually do something like this:[if [numfound]>[max]] [then]Showing first [max] records[/then] [else]Showing [numfound] records[/else] [/if]If you are concerned about limiting the number of [shownext] links displayed on a page, you need to look at the docs for the max parameter to [shownext].John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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/ John Peacock

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:

Random links from datatbase (2004) Interesting speed comparison .. (2003) one item in several different categories? (2000) Re:Emailer and encryption (1997) Quit revisited (1997) admin:admin won't work for login:password ! (1999) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) WebCatalog for Postcards ? (1997) raw=T is broken in [include] (1997) Methods of protecting "invoice page" (2003) No luck with taxes (1997) RE: Cart Template (1997) HTML Editors (1997) [WebDNA] Virtual server (2011) Re[2]: 2nd WebCatalog2 Feature Request (1996) webcat nt (1997) Limitations on fields? Server is crashing (1997) WebDNA on Red Hat Enterprise Linux 4 x64 (2006) Math problems (1998) encrypt and decrypt (2001)