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:

Emailer (1997) Re:Merging databases (1997) HELP WITH DATES (1997) WC 4.02rc2 (2001) emailer on Windows Beta 18 (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) self maintaining databases? (1998) Is everybody getting all the posts? (2002) PCS Emailer's role ? (1997) [WebDNA] Retrieving a PDF from an email (2008) Re:2nd WebCatalog2 Feature Request (1996) ShowNext truncating passed variable?? (1997) [Off] Netscape Display Problem (1998) WebCatalog2 Feature Feedback (1996) Thanks for tips, more quest (1997) international time (1997) Oops! (1998) Forbidden CGI Error (1997) WebCat2: Items xx to xx shown, etc. (1997)