Re: Picking a random entry from a .db
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 40226
interpreted = N
texte = It works, Thanks guys. I have to say... This is probably the friendliest talk list that I am a member of. Very helpful, and friendly... especially to newbies like me.On Thursday, January 9, 1941, Maurice Rickard
wrote:>At 9:31 AM 11/21/01, Matthew Bohne wrote:>>My questions is... can I, or How can I search and pull one random >>entry from the database?>>>>[search db=angeltree.db& .......>>Add to your search criteria something that'll pull all results you'd >potentially want from the db (nezipdata=0, for example), sort it >randomly (&zipsort=1&zipsdir=ra), and return only one result >(&max=1). That ought to do it.>>HTH,>M>-- >Maurice Rickard>http://mauricerickard.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/>-------------------------------------------------------------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:
It works, Thanks guys. I have to say... This is probably the friendliest Talk List that I am a member of. Very helpful, and friendly... especially to newbies like me.On Thursday, January 9, 1941, Maurice Rickard wrote:>At 9:31 AM 11/21/01, Matthew Bohne wrote:>>My questions is... can I, or How can I search and pull one random >>entry from the database?>>>>[search db=angeltree.db& .......>>Add to your search criteria something that'll pull all results you'd >potentially want from the db (nezipdata=0, for example), sort it >randomly (&zipsort=1&zipsdir=ra), and return only one result >(&max=1). That ought to do it.>>HTH,>M>-- >Maurice Rickard>http://mauricerickard.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/>-------------------------------------------------------------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/
Matthew Bohne
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:
Help formatting search results w/ table (1997)
Execute Applescript (1997)
WebCat2b12 - nesting [tags] (1997)
Shopping Cart Problem (1998)
Repost: [convertwords] to convert carriage return? (2000)
OT: Need some feedback, please. (2003)
CC and Europe (1999)
a small clarification (2002)
Re1000001: Setting up shop (1997)
Webcat & SIMS (1998)
Using WebCat for product info requests (1997)
Help name our technology! I found it (1997)
Re:2nd WebCatalog2 Feature Request (1996)
[Fwd: F3 database munching] (1997)
emailer (1997)
Deleting Multiple Database Records based on Checkbox (1998)
[random] only for 1-100??? (1997)
Wrapping text (1998)
surveys with WebCatalog (2000)
Assigning new CART number (1997)