Re: NumFound

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25201
interpreted = N
texte = > I have a template to see the results of a search like: > > [search] > [shownext] [/shownext] > [numFound] items found > [founditems] > [showif] > [/showif] > [/founditems] > [shownext] bla bla [/shownext] > [/search] > > The problem is: The NumFound is not equal to the items displayed. It > found 2 for example and because the showif it show only one, but the line > said 2 items found. > > I know I need to do another [founditems] context after the [search] and a > [math] routine to found the amount of items displayed, but I don't know > how to do it. > I'm using webCat 2.1.3I may be missing something here since some of it's a little vague, but I would recommend that you use max in the search context and set it to 1 so you can get rid of the showif.Please explain what you're using the showif for if this doesn't help, also I would look at making your search context handle the requirements of the showif.-Jason Tyler www.3ip.net ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: mySQL numfound ( Alex McCombie 2006)
  2. Re: mySQL numfound ( Adam O'Connor 2006)
  3. Re: mySQL numfound ( Alex McCombie 2006)
  4. Re: mySQL numfound ( 2006)
  5. Re: mySQL numfound ( Adam O'Connor 2006)
  6. Re: mySQL numfound ( nitai@computeroil.com 2006)
  7. Re: mySQL numfound ( Donovan Brooke 2006)
  8. Re: mySQL numfound ( Kenneth Grome 2006)
  9. mySQL numfound ( 2006)
  10. Re: math with a [numfound] ( Lester 2005)
  11. Re: math with a [numfound] ( "Mark Pace" 2005)
  12. Re: math with a [numfound] ( Kenneth Grome 2005)
  13. Re: math with a [numfound] ( Kenneth Grome 2005)
  14. math with a [numfound] ( Lester 2005)
  15. Re: numfound question: SORTnumfound=ain't gonna happen ( Terry Wilson 2005)
  16. Re: numfound question ( Gary Krockover 2005)
  17. Re: numfound question ( Lester 2005)
  18. Re: numfound question ( "Nitai @ ComputerOil" 2005)
  19. Re: numfound question ( Lester 2005)
  20. Re: numfound question ( "Nitai @ ComputerOil" 2005)
  21. Re: numfound question ( Terry Wilson 2005)
  22. Re: numfound question ( Lester 2005)
  23. Re: numfound question ( Terry Wilson 2005)
  24. Re: numfound question ( Terry Wilson 2005)
  25. Re: numfound question ( "Nitai @ ComputerOil" 2005)
  26. numfound question ( Lester 2005)
  27. Re: numfound=0 for a search after going into the SSL (Alex McCombie 2003)
  28. Re: numfound=0 for a search after going into the SSL (Alan White 2003)
  29. Re: numfound=0 for a search after going into the SSL (Brian B. Burton 2003)
  30. Re: numfound=0 for a search after going into the SSL (marc@kaiwi.com (Marc Kaiwi) 2003)
  31. Re: numfound=0 for a search after going into the SSL (Gary Krockover 2003)
  32. Re: numfound=0 for a search after going into the SSL (Alain Russell 2003)
  33. Re: numfound=0 for a search after going into the SSL (Gary Krockover 2003)
  34. Re: numfound=0 for a search after going into the SSL (Gary Krockover 2003)
  35. Re: numfound=0 for a search after going into the SSL (WJ Starck 2003)
  36. numfound=0 for a search after going into the SSL (Gary Krockover 2003)
  37. Re: &summ=T >> numfound (Donovan Brooke 2002)
  38. Re: &summ=T >> numfound (Alain Russell 2002)
  39. Re: &summ=T >> numfound (Donovan Brooke 2002)
  40. &summ=T >> numfound (Alain Russell 2002)
  41. Re: easy numfound search? (Celeste Paul 2001)
  42. Re: easy numfound search? (John Peacock 2001)
  43. Re: easy numfound search? (Tad 2001)
  44. Re: easy numfound search? (Clint Davis 2001)
  45. easy numfound search? (Celeste Paul 2001)
  46. Re: easy numfound search? (John Peacock 2001)
  47. Re: [numfound] in nested [search] (Kim Ingram 2000)
  48. Re: [numfound] in nested [search] (Paul Fowler 2000)
  49. Re: [numfound] in nested [search] (blo 2000)
  50. Re: [numfound] in nested [search] (WebDNA Support 2000)
  51. Re: [numfound] in nested [search] (Paul Fowler 2000)
  52. Re: [numfound] in nested [search] (Kim Ingram 2000)
  53. [numfound] in nested [search] (blo 2000)
  54. Re: [showif [numfound]=0]? (Tim Robinson 2000)
  55. Re: [showif [numfound]=0]? (Joseph D'Andrea 2000)
  56. Re: [showif [numfound]=0]? (John Butler 2000)
  57. Re: [showif [numfound]=0]? (Tim Robinson 2000)
  58. Re: [showif [numfound]=0]? (Joseph D'Andrea 2000)
  59. Re: [showif [numfound]=0]? (Jesse Proudman (Lists Account) 2000)
  60. Re: [showif [numfound]=0]? (Tim Robinson 2000)
  61. Re: [showif [numfound]=0]? (Nitai @ Eyework 2000)
  62. Re: [showif [numfound]=0]? (Tim Robinson 2000)
  63. Re: [showif [numfound]=0]? (WebDNA Support 2000)
  64. [showif [numfound]=0]? (Tim Robinson 2000)
  65. Re: [numfound] within summ=t ??? (Joseph D'Andrea 2000)
  66. Re: [numfound] within summ=t ??? (Grant Hulbert 2000)
  67. Re: [numfound] within summ=t ??? (Rodolfo de la Garza 2000)
  68. Re: [numfound] within summ=t ??? (Joseph D'Andrea 2000)
  69. [numfound] within summ=t ??? (Joseph D'Andrea 2000)
  70. [numfound] within summ=t ??? (Joseph D'Andrea 2000)
  71. Re: [numFound] inside [showIf]? (Robert Wade 2000)
  72. Re: [numFound] inside [showIf]? (Bob McPeak 2000)
  73. Re: [numFound] inside [showIf]? (WebDNA Support 2000)
  74. [numFound] inside [showIf]? (Bob McPeak 2000)
  75. REPOST: [numfound] within summ=t (Joseph D'Andrea 2000)
  76. [numfound] within summ=t (Joseph D'Andrea 2000)
  77. Re: NumFound (Rodolfo de la Garza 1999)
  78. Re: NumFound (Jason Tyler 1999)
  79. Re: NumFound (Rodolfo de la Garza 1999)
  80. Re: NumFound (Jason Tyler 1999)
  81. NumFound (Rodolfo de la Garza 1999)
  82. [numfound] for [listfiles] (Pat McCormick 1998)
> I have a template to see the results of a search like: > > [search] > [shownext] [/shownext] > [numFound] items found > [founditems] > [showif] > [/showif] > [/founditems] > [shownext] bla bla [/shownext] > [/search] > > The problem is: The NumFound is not equal to the items displayed. It > found 2 for example and because the showif it show only one, but the line > said 2 items found. > > I know I need to do another [founditems] context after the [search] and a > [math] routine to found the amount of items displayed, but I don't know > how to do it. > I'm using webCat 2.1.3I may be missing something here since some of it's a little vague, but I would recommend that you use max in the search context and set it to 1 so you can get rid of the showif.Please explain what you're using the showif for if this doesn't help, also I would look at making your search context handle the requirements of the showif.-Jason Tyler www.3ip.net ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Jason Tyler

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:

WebCat2b15MacPlugin - showing [math] (1997) I'm new be kind (1997) Listfiles and nothing found (2001) Unexpected error (1997) [sendmail] questions... (1997) emailer error -108 (1997) WebDNA Speed Test (2008) b12 cannot limit records returned and more. (1997) webcatalog approaching max (1998) Sorting Numbers (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) Problem (1997) Setting up shop (1997) SKU (1997) [FoundItems] solved - thanks (1997) WebDNA on Intel Mac (2006) Size images (2002) 2.1b3 --> way slow (1997) how to get s repeatedly in and out of a form? (1999) [WebDNA] Banner Adds (2009)