Re: random within a specified range

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37452
interpreted = N
texte = [search db=somedatabase.db&neCatdatarq=[blank]&raCatsort=1&max=1]ra = Random sort comaprison WebCat resource says: FirstNamesdir=ra I know I sort like asFirstNamesort=1 so I made that sort in this way above.How does that work for you?Alisha Outridge Spec Simple, Inc Where the World of Design Connects...> From: Andrew Simpson > Reply-To: (WebCatalog Talk) > Date: Fri, 27 Jul 2001 11:57:57 > To: (WebCatalog Talk) > Subject: random within a specified range > > 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:

    
  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)
[search db=somedatabase.db&neCatdatarq=[blank]&raCatsort=1&max=1]ra = Random sort comaprison WebCat resource says: FirstNamesdir=ra I know I sort like asFirstNamesort=1 so I made that sort in this way above.How does that work for you?Alisha Outridge Spec Simple, Inc Where the World of Design Connects...> From: Andrew Simpson > Reply-To: (WebCatalog Talk) > Date: Fri, 27 Jul 2001 11:57:57 > To: (WebCatalog Talk) > Subject: random within a specified range > > 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/ Alisha Outridge

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:

WebCat2 - Getting to the browser's username/password data (1997) Configuring E-mail (1997) Virtual hosting and webcatNT (1997) [slightly OT] WebCat vs. WebObjects ;) (2000) Database Options (1997) SMSI FTP - calander system (2002) FEW QUESTIONS (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Quitting WebMerchant ? (1997) Sku numbers (1997) Not really WebCat - need HTML Grider (1997) I'm new (2001) Trigger Problems (2001) can include param variables be valid [math] players? (2000) & in Lookups (1997) Losing Variable Values/Data (2001) A dynamic database. (1997) flushdatabases (2000) RE: Error: template (1997) help needed: Non-english characters in WebCatalog (1997)