NumFound
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25200
interpreted = N
texte = Hi,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.3Do you have an example of this math routine?Thanks.Rodolfo -------------------------------------------------------------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:
Hi,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.3Do you have an example of this math routine?Thanks.Rodolfo -------------------------------------------------------------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
Rodolfo de la Garza
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:
Using Cookie for client specific info? (1997)
WebCatalog for guestbook ? (1997)
Credit Card Number checking (1997)
[protect] error page (1997)
Plugin or CGI or both (1997)
Dates (1998)
two unique banners on one page (1997)
[format 40s]text[/format] doesn't work (1997)
[numfound] in nested [search] (2000)
New command suggestion (was Modifying databases manually) (1997)
Re:Searching for ALL / empty form field (1997)
Which GUI HTML editors work with WC ? (1997)
Here's how to kill a Butler Database. (1997)
searching for a variable range with in a found set (2002)
CAPTCHA system in webDNA (2005)
4.0x on production server (2000)
PIXO (1997)
test (2004)
Document contains no data 2 (1998)
WebCat2b13MacPlugIn - More limits on [include] (1997)