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:

Custom WebCat Prefs ... (1997) Random links from datatbase (2004) Help! WebCat2 bug (1997) LOOP problem (2007) [WebDNA] Problem with Cookies in IE and Safari (2009) WCS Newbie question (1997) Viewing Changes (1998) Not really WebCat (1997) What do you charge? (1998) Need help with emailer- 2 issues (1997) WebCatalog NT (1996) no global [username] or [password] displayed ... (1997) max page views Mac can handle (1999) ShowIf & HideIf Question? (1998) Help! WebCat2 bug (1997) WebCat2b15MacPlugin - showing [math] (1997) Shopping carts and reloading pages (1997) [SHOWIF AND/OR] (1997) trouble updating records in database (1998) math on date? (1997)