Re: Using [random]

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24018
interpreted = N
texte = >Hi folks, > >I would like to return a random record out of a database ...Use the parameter FieldNamesdir=ra to sort the FieldName field randomly, then use max=1 to show only the first record of that random sort:[search db=xxx.db&nefieldNamedata=[blank]&fieldNamesdir=ra&max=1]This is explained in the HTML docs under searching ... :)Sincerely, Kenneth Grome WebDNA Consultant Associated Messages, from the most recent to the oldest:

    
  1. Re: Using [random] (Kenneth Grome 1999)
  2. Re: Using [random] (Kenneth Grome 1999)
  3. Re: Using [random] (Kenneth Grome 1999)
  4. Re: Using [random] (Christer Olsson 1999)
  5. Using [random] (webcat 1999)
  6. Using [random] (webcat 1999)
>Hi folks, > >I would like to return a random record out of a database ...Use the parameter FieldNamesdir=ra to sort the FieldName field randomly, then use max=1 to show only the first record of that random sort:[search db=xxx.db&nefieldNamedata=[blank]&fieldNamesdir=ra&max=1]This is explained in the HTML docs under searching ... :)Sincerely, Kenneth Grome WebDNA Consultant Kenneth Grome

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:

Logout? (1998) WebCommerce: Folder organization ? (1997) [cart] not being interpreted inside [founditems] (1997) [taxrate] question (1997) showif (1999) Single Link browsing (1997) Webcatalog and IIS4b2 (1997) Upcoming 2.1 Release and PCS Committment (1997) Emailer (WebCat2) (1997) Date sorting (1997) WebDNA Speed Test (2006) Paths, relative paths, webstar server setup andsecurity WebDNA-Talk@smithmicro.com (1997) problem with applets embedded in tpl files (1997) no global [username] or [password] displayed ... (1997) Hideif / Showif (1998) HELP WITH DATES (1997) [listdatabases] feature request. (2003) PIXO support (1997) Why doesn't it change? (1998) Weird Math and SV (1997)