Re: [shownext] and sort

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19313
interpreted = N
texte = At 16:45 Uhr 04.08.1998, Sue Ann Sanders wrote:>I got it to sort correctly by adding an _ (underscore) to the field names >in the Search link.Please forget the magic of the underscore! If a form field is named _myfield then you must write _myfield in a search command and you must look for [_myfield] when you want to get its value after submitting a form. The underscore is a character like any other character and a free choice of the programmer. In your case it is simply a part of the field name - there is no special meaning, no secret function and no magic at all!>Still having problems with the ShowNext buttons >though. >If my _max=10 or 20, the ShowNext buttons show up fine.Why _max=20 and not max=20 ? >If I increase the max value to 50, my ShowNext buttons disappear.How many items does the search return? Have you tried [numfound]? Maybe there are less than 50 records after the search, then the [shownext] button is supposed to disapper...Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Associated Messages, from the most recent to the oldest:

    
  1. Re: [shownext] and sort (Gary Richter 1998)
  2. Re: [shownext] and sort (Sue Ann Sanders 1998)
  3. Re: [shownext] and sort (Gary Richter 1998)
  4. Re: [shownext] and sort (John Hill 1998)
  5. Re: [shownext] and sort (Sue Ann Sanders 1998)
  6. Re: [shownext] and sort (Peter Ostry 1998)
  7. Re: [shownext] and sort (Kenneth Grome 1998)
  8. Re: [shownext] and sort (Sue Ann Sanders 1998)
  9. Re: [shownext] and sort (Sue Ann Sanders 1998)
At 16:45 Uhr 04.08.1998, Sue Ann Sanders wrote:>I got it to sort correctly by adding an _ (underscore) to the field names >in the Search link.Please forget the magic of the underscore! If a form field is named _myfield then you must write _myfield in a search command and you must look for [_myfield] when you want to get its value after submitting a form. The underscore is a character like any other character and a free choice of the programmer. In your case it is simply a part of the field name - there is no special meaning, no secret function and no magic at all!>Still having problems with the ShowNext buttons >though. >If my _max=10 or 20, the ShowNext buttons show up fine.Why _max=20 and not max=20 ? >If I increase the max value to 50, my ShowNext buttons disappear.How many items does the search return? Have you tried [numfound]? Maybe there are less than 50 records after the search, then the [shownext] button is supposed to disapper...Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Peter Ostry

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:

Cookie setting (2003) Digest Version (2000) Re:2nd WebCatalog2 Feature Request (1996) WebDNA Windows 5.0 sendmail bug (2003) textA (1998) File Upload (1997) Determining Method (2000) [WebDNA] Auto Expansion of .zip (2009) Site builder (2004) A question on sub-categories (1997) [WebDNA] Brian Harrington (2019) math problems (2000) Date summarising (2005) Bug Report, maybe (1997) This is probably a stupid question... (2004) PSC recommends what date format yr 2000??? (1997) Listwords and the & (2001) Upgrade Pricing? (2003) 2nd WebCatalog2 Feature Request (1996) Sku numbers (1997)