Re: random within a specified range
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37453
interpreted = N
texte = [search db=mydb.db&wocategorydatarq=1,5,12,27,28,29&categoryword=ww&skusort=1&skusdir=ra&max=1&allhits=1]>Is there any way to randomly select from a specified set???>>for aguements sake lets say i have 1000 items listed in a database.>>Each one of these items is associated with one or more categories - in>another table.>>I have, again for aguments sake - 30 catagories.>>Would it be possible to randomly select one item which is associated with>any of six of the categories. cat1, cat5, cat12, cat 27, cat28, cat29.>>Anybody have any idea's?>>>>------------------------------------------------------------->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:
[search db=mydb.db&wocategorydatarq=1,5,12,27,28,29&categoryword=ww&skusort=1&skusdir=ra&max=1&allhits=1]>Is there any way to randomly select from a specified set???>>for aguements sake lets say i have 1000 items listed in a database.>>Each one of these items is associated with one or more categories - in>another table.>>I have, again for aguments sake - 30 catagories.>>Would it be possible to randomly select one item which is associated with>any of six of the categories. cat1, cat5, cat12, cat 27, cat28, cat29.>>Anybody have any idea's?>>>>------------------------------------------------------------->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/
Clayton Randall
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:
Setting up WebCatalog with Retail Pro data (1996)
[WriteFile] problems (1997)
[OT] Linux -> Winderz (2005)
Help name our technology! I found it (1997)
[lottaCopy] through SSL (1998)
Proposed FormVariables hierarchy (2000)
two unique banners on one page (1997)
problem: mail changed (1997)
PCS Frames (1997)
PIXO (1997)
Overridding E-Mailer (1998)
[WebDNA] grep again (2010)
Press Release hit the NewsWire!!! (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
One other big addition... (1997)
[shippingtotal] in Formulas.db (2002)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
international time (1997)
WebCatalog Hosting (1996)
[WebDNA] WebDNA & Facebook (2011)