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 searchcommand and you must look for [_myfield] when you want to get its valueafter submitting a form.The underscore is a character like any other character and a free choice ofthe programmer. In your case it is simply a part of the field name - thereis 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.comOstry & Partner - Ostry Internet SolutionsAuhofstrasse 29 A-1130 Vienna Austriafon ++43-1-8777454 fax ++43-1-8777454-21
Associated Messages, from the most recent to the oldest:
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 searchcommand and you must look for [_myfield] when you want to get its valueafter submitting a form.The underscore is a character like any other character and a free choice ofthe programmer. In your case it is simply a part of the field name - thereis 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.comOstry & Partner - Ostry Internet SolutionsAuhofstrasse 29 A-1130 Vienna Austriafon ++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:
Signal Raised (1997)
How To question on setting up downloads (1997)
Summing fields (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Practice runs ? (1997)
Greeting Card System (2000)
web delivery (1997)
problems with 2 tags (1997)
Ampersand (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Poll Please (2002)
New user...how do I create URLs from form fields? (2000)
HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997)
Caching pages...again (2001)
WebMerchant when CC network is down (1998)
Req: Array Tags Explained, simple and clear (2003)
Re:Navigator 4.01 (1997)
WebDNA Video Poker (was ...dice result) (2007)
MacActivity and PCS (1997)
MacOSX/Apache? (1999)