Shownext and Jumping between pages

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33286
interpreted = N
texte = Need a little help. I am performing a search against a pretty large database. I am returning results 100 to a page and providing a link to jump between pages of 100 items with this:[ShowIF [NumFound]>100]
Showing Orders [ShowNext position=middle&max=100] [start]-[end] [/shownext][/ShowIF] [ShowIF [NumFound]>100] Jump to page: [ShowNext position=begin&max=100] [math]ceil([end]/100)[/math]• [/shownext] [ShowNext position=middle] [math]ceil([end]/100)[/math] [HideIF [NumFound]=[end]]•[/HideIF] [/shownext] [ShowNext position=end&max=100] [math]ceil([end]/100)[/math] [HideIF [NumFound]=[end]]•[/HideIF] [/shownext] [/ShowIF]Problem is this only works when the total number of items found in the search is under about 500. When more than 500 are found, the page only provides links to pages 1,2,3 and 4. Any ideas or suggestions would be greatly appreciated.Thanks! Jeff__________________________________________________ Do You Yahoo!? Send instant messages with Yahoo! Messenger. http://im.yahoo.com/------------------------------------------------------------- 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: Shownext and Jumping between pages (John@JTConsultants.com 2000)
  2. Shownext and Jumping between pages (Jeff Grady 2000)
Need a little help. I am performing a search against a pretty large database. I am returning results 100 to a page and providing a link to jump between pages of 100 items with this:[ShowIF [NumFound]>100]
Showing Orders [ShowNext position=middle&max=100] [start]-[end] [/shownext][/ShowIF] [ShowIF [NumFound]>100] Jump to page: [ShowNext position=begin&max=100] [math]ceil([end]/100)[/math]• [/shownext] [ShowNext position=middle] [math]ceil([end]/100)[/math] [HideIF [NumFound]=[end]]•[/HideIF] [/shownext] [ShowNext position=end&max=100] [math]ceil([end]/100)[/math] [HideIF [NumFound]=[end]]•[/HideIF] [/shownext] [/ShowIF]Problem is this only works when the total number of items found in the search is under about 500. When more than 500 are found, the page only provides links to pages 1,2,3 and 4. Any ideas or suggestions would be greatly appreciated.Thanks! Jeff__________________________________________________ Do You Yahoo!? Send instant messages with Yahoo! Messenger. http://im.yahoo.com/------------------------------------------------------------- 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/ Jeff Grady

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:

expired beta (1997) default value from Lookup (was Grant, please help me) (1997) spaces in db (2001) Problems passing [SKU] with $Replace in 2.0 (1997) b12 cannot limit records returned and more. (1997) Processing all html files through WebCat or Typhoon (1998) Running 2 two WebCatalog.acgi's (1996) catagories (1997) Quickie question on the email templates (1997) [WebDNA] [announce] CICADA Gold Products (2009) Arbitrary limits on length of data in cart header fields? (2000) Y2k compliance (1998) ShowNext for method=POST (1997) WC2.0 Memory Requirements (1997) [WebDNA] maybe silly suggestion? [founditems] (2015) Bad suffix error (1997) [convertchars] limits (1998) Re:no [search] with NT (1997) Non-Cart Files in Shopping Cart Folder (1997) 'does not contain' operator needed ... (1997)