Re: random within a specified range

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37455
interpreted = N
texte = just implementing now, geese, can't a guy stop for lunch,Looks good though, one of these days i will be able to ask a question which an answer cannot be found in the docs...stranger things have happened. on 27/7/01 1:44 PM, Alisha Outridge at alisha@specsimple.com wrote:> Ok so did you get it? > > Alisha Outridge > Spec Simple, Inc > Where the World of Design Connects... > >> From: Clayton Randall >> Reply-To: (WebCatalog Talk) >> Date: Thu, 26 Jul 2001 21:30:25 >> To: (WebCatalog Talk) >> Subject: Re: random within a specified range >> >> [search >> db=mydb.db&wocategorydatarq=1,5,12,27,28,29&categoryword=ww&skusort=1&skusdi r>> = >> 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/ > > > ------------------------------------------------------------- > 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:

    
  1. Re: random within a specified range (Alisha Outridge 2001)
  2. Re: random within a specified range (Andrew Simpson 2001)
  3. Re: random within a specified range (Alisha Outridge 2001)
  4. Re: random within a specified range (Clayton Randall 2001)
  5. Re: random within a specified range (Alisha Outridge 2001)
  6. random within a specified range (Andrew Simpson 2001)
just implementing now, geese, can't a guy stop for lunch,Looks good though, one of these days i will be able to ask a question which an answer cannot be found in the docs...stranger things have happened. on 27/7/01 1:44 PM, Alisha Outridge at alisha@specsimple.com wrote:> Ok so did you get it? > > Alisha Outridge > Spec Simple, Inc > Where the World of Design Connects... > >> From: Clayton Randall >> Reply-To: (WebCatalog Talk) >> Date: Thu, 26 Jul 2001 21:30:25 >> To: (WebCatalog Talk) >> Subject: Re: random within a specified range >> >> [search >> db=mydb.db&wocategorydatarq=1,5,12,27,28,29&categoryword=ww&skusort=1&skusdi r>> = >> 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/ > > > ------------------------------------------------------------- > 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/ Andrew Simpson

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:

state? (2004) Do [object] and [shell] work on OSX/WebSTAR V? (2002) [protect admin] (1997) WebCatalog 4.0.1b1 is now available (2000) NEW INFO: I'm stuck: Can't open order file. (2000) Moment of Thanks (1997) Location of Browser Info.txt file (1997) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) trouble updating records in database (1998) WebCatalog-NT?'s (1996) Re:2nd WebCatalog2 Feature Request (1996) Speed questions (1998) [SearchString] problem with [search] context (1997) Re:What file? (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) can you take a look (2003) Word search (1997) [searchString] (1997) More on the email templates (1997) all records returned. (1997)