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 sorting parameters 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, because data is used only in the parameters that do the actual comparisons, not the sorting parameters:
>Enter a Keyword:name=woKeywordsdata> (Words that describe the content or concept of an >illustration.) > > >Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Associated Messages, from the most recent to the oldest:

    
  1. Re: Sorting Problems ( Toby Cox 2004)
  2. Re: Sorting Problems ( Brian Fries 2004)
  3. Re: Sorting Problems ( Glenn Busbin 2004)
  4. Re: Sorting Problems ( Pat Holliday 2004)
  5. Re: Sorting Problems ( Glenn Busbin 2004)
  6. Re: Sorting Problems ( Brian Fries 2004)
  7. Re: Sorting Problems ( Joe D'Andrea 2004)
  8. Re: Sorting Problems ( Gary Krockover 2004)
  9. Sorting Problems ( Pat Holliday 2004)
  10. Re: oddball sorting problem ( Terry Wilson 2003)
  11. Re: oddball sorting problem [feature request] ( Donovan Brooke 2003)
  12. Re: oddball sorting problem ( Brian Fries 2003)
  13. Re: oddball sorting problem ( Terry Wilson 2003)
  14. Re: oddball sorting problem ( Donovan Brooke 2003)
  15. oddball sorting problem -- almost okay now ( Terry Wilson 2003)
  16. Re: oddball sorting problem ( Tim Robinson 2003)
  17. Re: oddball sorting problem ( "WebDna @" 2003)
  18. oddball sorting problem ( Terry Wilson 2003)
  19. Re: Sorting problem (Don 2002)
  20. Re: Sorting problem (Don 2002)
  21. Re: Sorting problem (Brian Fries 2002)
  22. Re: Sorting problem (Don 2002)
  23. Re: Sorting problem (Don 2002)
  24. Re: Sorting problem (Anup Setty 2002)
  25. Re: Sorting problem (Kenneth Grome 2002)
  26. Re: Sorting problem (Brian Fries 2002)
  27. Re: Sorting problem (Glenn Busbin 2002)
  28. Re: Sorting problem (Don 2002)
  29. Re: Sorting problem (Don 2002)
  30. Re: Sorting problem (Kenneth Grome 2002)
  31. Re: Sorting problem (Glenn Busbin 2002)
  32. Re: Sorting problem (Don 2002)
  33. Re: Sorting problem (Gary Krockover 2002)
  34. Re: Sorting problem (Don 2002)
  35. Re: Sorting problem (Glenn Busbin 2002)
  36. Re: Sorting problem (Don 2002)
  37. Re: Sorting problem (Don 2002)
  38. Re: Sorting problem (Brian Fries 2002)
  39. Re: Sorting problem (Glenn Busbin 2002)
  40. Re: Sorting problem (Glenn Busbin 2002)
  41. Re: Sorting problem (Don 2002)
  42. Re: Sorting problem (Glenn Busbin 2002)
  43. Re: Sorting problem (Glenn Busbin 2002)
  44. Sorting problem (Don 2002)
  45. Re: Sorting problems (Kenneth Grome 2000)
  46. Sorting problems (Marc 2000)
  47. sorting problem for sku=0? (Olin Lagon 1998)
  48. Re: Sorting problem (Kenneth Grome 1997)
  49. Sorting problem (kmuelle3@ix.netcom.com 1997)
>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 sorting parameters 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, because data is used only in the parameters that do the actual comparisons, not the sorting parameters:
[cart]> >Enter a Keyword:name=woKeywordsdata> (Words that describe the content or concept of an >illustration.) > > >Sincerely, Ken Grome WebDNA Solutions http://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)