Re: Sorting problem
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15033
interpreted = N
texte = >I am new to WebCatalog as you may guess from the following question.>I have a form here that allows customers to enter a keyword to search>for related images. I want the results to be sorted by sku, in ascending>order.>>I have text links that do similar things and they work fine. My question>is: Where do I insert &skusort=1&max=5&skudatasdir=as so the results>of the form are sorted and broken into groups of five?Hi Kevin,Welcome to WebCatalog! :)Your syntax needs a minor adjustment before you try to use it. Here,take a look at this example to see how I've added the sortingparameters to your search form.Also note that when you define the sorting direction (for example,skusdir=as) you do *not* use data in that parameter, becausedata is used only in the parameters that do the actual comparisons,not the sorting parameters:
Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
Associated Messages, from the most recent to the oldest:
>I am new to WebCatalog as you may guess from the following question.>I have a form here that allows customers to enter a keyword to search>for related images. I want the results to be sorted by sku, in ascending>order.>>I have text links that do similar things and they work fine. My question>is: Where do I insert &skusort=1&max=5&skudatasdir=as so the results>of the form are sorted and broken into groups of five?Hi Kevin,Welcome to WebCatalog! :)Your syntax needs a minor adjustment before you try to use it. Here,take a look at this example to see how I've added the sortingparameters to your search form.Also note that when you define the sorting direction (for example,skusdir=as) you do *not* use data in that parameter, becausedata is used only in the parameters that do the actual comparisons,not the sorting parameters:
Sincerely, Ken GromeWebDNA Solutionshttp://www.smithmicro.com/webdnasolutions/.
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:
Rename file (2005)
send mail problem? (1997)
WriteFile Formatting (2000)
[WebDNA] First-timer feedback (2014)
generating a space delimited file (2001)
Sort Order on a page search (1997)
Deleting duplicates from a db (2000)
Append File help needed (2000)
Cart/ Form Use (1998)
RE: Can a database get stomped by simultaneous access? (1997)
Card clearance, problems - solutions? (1997)
How to append text after the sign & (1997)
WebCatalog on Linux (2000)
Not really WebCat (1997)
[Price] (1997)
http upload (2001)
Need help from WebDNA user using WebStar Plugin (2005)
Universal root for WC errors? (1997)
[if] (2003)
Emailer or [sendmail] questions ... (1998)