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:

SOP for WebDNA talk - MSNBot Crashing (2004) WebCatalog NT beta 18 now available (1997) Running a store on BOTH http and https (1998) setting taxable to true (1997) WC1.6 to WC2 date formatting (1997) WebCat2 - [format thousands] (1997) webdna osx server startupitem (2003) Re:One more time (1997) list items (1998) Big Databases (1997) Calendar (1997) Setting up WebCatalog with Retail Pro data (1996) My Eyes doth deceive me (2002) UPDATE PROBLEM (1997) XML Parse with XML WebDNA Syntax... (2004) [WebDNA] showif/sendmail question (2008) shipcost (1997) international time (1997) pull downs (1997) [url] (1997)