Re: Using [random]

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24020
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:

[WebDNA] server admin newbie: what does webdna need owner to be to allow writing? (2010) request for string functions (1998) Quickie question on the email templates (1997) WebCatalog dying in NT (1998) Date stamp and purging (1998) price formula (1999) Need some Java Script Code (2003) WebCat2 beta 11 - new prefs ... (1997) question: back button prevention (1997) Mac Vs WindowsNT (1997) Protect (1997) URGENT: WebDNA Server Not Running (2003) Re:Help name our technology! (1997) OT: Web Cams (2003) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) How long until WebDNA makes the list? :( (2004) Hiding Email Addresses (2003) SMSI FTP - calendar system (2002) [movefile] prob (2005) Type 2 errors with WebCatalog.acgi (1997)