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:
Storebuilder Seems to have just died (2003)
dreamweaver mx (2002)
Configuring E-mail (1997)
FW: ANother SHOWIF problem (1997)
question: back button prevention (1997)
[WebDNA] php -> WebDNA: Can I do this with [tcpconnect]? (2013)
Multiple Pulldowns (1997)
keep W* in front applescript? (1998)
Reserved Words (2003)
Database changes (1998)
Searching (1999)
Locking up with WebCatalog... (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
emailer error -108 (1997)
Multiple security dbs (1997)
acrobat -> wc (1998)
[Announce]: Web server security and password protection (1997)
ShowNext truncating passed variable?? (1997)
PIXO (1997)
[WebDNA] grep question (2009)