Re: Counting records
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 26488
interpreted = N
texte = No fieldname called numfound but I was thinking of including something like that, but witha different name.this [search db=.xx.db&neSKUdata=0]Number of records: [numfound][/search] produces aresult, but I think a result of every record in every field, i just need a number ofrecords total in the database. By the way? What does the 'ne' in neSKUdata stand for? Ican't find it referenced in the docs.John Butler wrote:> You can have the [numfound] tag OUTSIDE the [founditems] context entirely and it will> show the number of records found.> David do you have a fieldname called 'numfound'?> -John>> Phil Herring wrote:>> > I've used this:> >> > [search db=.xx.db&neSKUdata=0]Number of records: [numfound][/search]> >> > Don't use the [founditems] context and no data will appear except the> > [numfound] info.> >> > ph> >> > >I'd like to count the number of records in an entire database and have> > >this display on a page template. I have looked at using both [numfound]> > >and [numrecords] from search and listdatabase contexts respectively> > >without much success as to see how to implement returning a whole number> > >integer from a query on the entire database without displaying other> > >information. Any ideas as how to do this?> > >> > >--> > >David A. Bryant> > >dbryant@jump.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 --David A. Bryantdbryant@jump.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:
No fieldname called numfound but I was thinking of including something like that, but witha different name.this [search db=.xx.db&neSKUdata=0]Number of records: [numfound][/search] produces aresult, but I think a result of every record in every field, i just need a number ofrecords total in the database. By the way? What does the 'ne' in neSKUdata stand for? Ican't find it referenced in the docs.John Butler wrote:> You can have the [numfound] tag OUTSIDE the [founditems] context entirely and it will> show the number of records found.> David do you have a fieldname called 'numfound'?> -John>> Phil Herring wrote:>> > I've used this:> >> > [search db=.xx.db&neSKUdata=0]Number of records: [numfound][/search]> >> > Don't use the [founditems] context and no data will appear except the> > [numfound] info.> >> > ph> >> > >I'd like to count the number of records in an entire database and have> > >this display on a page template. I have looked at using both [numfound]> > >and [numrecords] from search and listdatabase contexts respectively> > >without much success as to see how to implement returning a whole number> > >integer from a query on the entire database without displaying other> > >information. Any ideas as how to do this?> > >> > >--> > >David A. Bryant> > >dbryant@jump.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 --David A. Bryantdbryant@jump.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
David A. Bryant
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 - [protect] (1997)
need help please (1997)
ALL CAPS converted to All Caps - first letter capitalizedonly (2002)
charge.com (2005)
SSL, WebSTAR, WebCatalog (1998)
HomePage Caution (1997)
Accentuated and non-English letters (2002)
Error reading data -1 (1997)
Exclamation point (1997)
Errata: WCS Newbie question (1997)
WC2.0 Memory Requirements (1997)
Is this possible, WebCat2.0 and checkboxes (1997)
Changes to the List (1997)
(1997)
Only charge card when product shipped ? (1997)
find with exceptions (1997)
Help! WebCat2 bug (1997)
[cart][date][time] (2003)
Emailer choke (1997)
[WebDNA] Email time bug? YES, it's a bug! (2011)