Nested search

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12284
interpreted = N
texte = Hi All,I have been trying to get a search on a category type, then listing items under that category, then listing the next catagory, and listing more item and so on.Basically it sort of works it will list the catagory, as well as items in the table underneath. The problem is that it lists ALL items for each catagory. I thought by putting eqcategorydata=[category] in the enclosed seach it would look at the current catagory listed... obviously not.Probably a small coding error.Any comments appreciated.cheers,Rick --------------------------------------------------------------------------- ----------------Here is my code:From a link on the Entry.tmpl page a particular catalog, called CATALOG-Name is selected.Results.tmpl$search?db=catalog.db&eqcataloguedata=CATALOG-Name&cart=[cart]& categorysumm=T&categorysort=1&searchTitle=CATALOG-Nameon the results page I have a nested search.[foundItems]

[category]

[search db=catalog.db&eqcataloguedata=[searchtitle]&eqcategorydata=[category] &eqtitledata=[title]&titlesumm=T] [founditems] [/founditems][/search]

Product Code

title

More Details

[productCode]

[title]

Detai ls & Order

[/foundItems] Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Nested Searches (Stephen Braun 2013)
  2. Re: [WebDNA] Nested Searches (WebDNA 2013)
  3. Re: [WebDNA] Nested Searches ("Brian B. Burton" 2013)
  4. Re: [WebDNA] Nested Searches (Eddie Z 2013)
  5. Re: [WebDNA] Nested Searches (Stephen Braun 2013)
  6. Re: [WebDNA] Nested Searches ("Terry Wilson" 2013)
  7. Re: [WebDNA] Nested Searches (Stuart Tremain 2013)
  8. Re: [WebDNA] Nested Searches (Stephen Braun 2013)
  9. RE: [WebDNA] Nested Searches ("Gary Krockover" 2013)
  10. RE: [WebDNA] Nested Searches ("Terry Nair" 2013)
  11. [WebDNA] Nested Searches (Stephen Braun 2013)
  12. Re: [WebDNA] Nested Search (Ki Song 2008)
  13. Re: [WebDNA] Nested Search (Ki Song 2008)
  14. Re: [WebDNA] Nested Search (Gary Krockover 2008)
  15. [WebDNA] Nested Search (Ki Song 2008)
  16. Re: Summing results of a nested search ( Terry Wilson 2006)
  17. Re: Summing results of a nested search ( WJ Starck 2006)
  18. Re: Summing results of a nested search ( Stuart Tremain 2006)
  19. Re: Summing results of a nested search ( WJ Starck 2006)
  20. Re: Summing results of a nested search ( Gary Krockover 2006)
  21. Re: Summing results of a nested search ( WJ Starck 2006)
  22. Re: Summing results of a nested search ( WJ Starck 2006)
  23. Re: Summing results of a nested search ( WJ Starck 2006)
  24. Re: Summing results of a nested search ( Gary Krockover 2006)
  25. Re: Summing results of a nested search ( Clint Davis 2006)
  26. Summing results of a nested search ( WJ Starck 2006)
  27. Re: Sorting nested search (Alain Russell 2003)
  28. Re: Sorting nested search (WJ Starck 2003)
  29. Re: Sorting nested search (Alain Russell 2003)
  30. Re: Sorting nested search (WJ Starck 2003)
  31. Re: Sorting nested search (WJ Starck 2003)
  32. Re: Sorting nested search (Donovan home EHG 2003)
  33. Re: Sorting nested search (WJ Starck 2003)
  34. Re: Sorting nested search (Donovan home EHG 2003)
  35. Re: Sorting nested search (Tim Robinson 2003)
  36. Sorting nested search (WJ Starck 2003)
  37. Re: Nested search index (Will Starck 2000)
  38. Re: Nested search index (Peter Ostry 2000)
  39. Re: Nested search index (Kenneth Grome 2000)
  40. Nested search index (Peter Ostry 2000)
  41. Re: need some help with a loop [nested search?] (Bill Heissenbuttel 1999)
  42. Re: need some help with a loop [nested search?] (Christer Olsson 1999)
  43. Re: need some help with a loop [nested search?] (Bill Heissenbuttel 1999)
  44. Re: Nested searches (Tim Taylor 1998)
  45. Re: Nested searches (PCS Technical Support 1998)
  46. Nested searches (Tim Taylor 1998)
  47. Re: Help with nested search (PCS Technical Support 1998)
  48. Re: Help with nested search (Marty Schmid 1998)
  49. Re: Help with nested search (PCS Technical Support 1998)
  50. Re: Help with nested search (Marty Schmid 1998)
  51. Re: Help with nested search (PCS Technical Support 1998)
  52. Help with nested search (Marty Schmid 1998)
  53. Re: Nested search (Richard Wylie 1997)
  54. Re: Nested search (Grant Hulbert 1997)
  55. Nested search (Richard Wylie 1997)
  56. RE: creating writefile data from a nested search (Kenneth Grome 1997)
  57. RE: creating writefile data from a nested search (Marc Eagle 1997)
  58. creating writefile data from a nested search (Kenneth Grome 1997)
Hi All,I have been trying to get a search on a category type, then listing items under that category, then listing the next catagory, and listing more item and so on.Basically it sort of works it will list the catagory, as well as items in the table underneath. The problem is that it lists ALL items for each catagory. I thought by putting eqcategorydata=[category] in the enclosed seach it would look at the current catagory listed... obviously not.Probably a small coding error.Any comments appreciated.cheers,Rick --------------------------------------------------------------------------- ----------------Here is my code:From a link on the Entry.tmpl page a particular catalog, called CATALOG-Name is selected.Results.tmpl$search?db=catalog.db&eqcataloguedata=CATALOG-Name&cart=[cart]& categorysumm=T&categorysort=1&searchTitle=CATALOG-Nameon the results page I have a nested search.[founditems]

[category]

[search db=catalog.db&eqcataloguedata=[searchtitle]&eqcategorydata=[category] &eqtitledata=[title]&titlesumm=T] [founditems] [/founditems][/search]

Product Code

title

More Details

[productCode]

[title]

[url][title][/url]&skusu mm=T&skusort=1&searchtitle=[url][title][/url]&max=10&cart=[cart]>

Detai ls & Order

[/foundItems] Richard Wylie

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:

Problem 2: Prefs file... (1997) A little syntax help (1997) Shipping formula problem (1997) [WebDNA] Problem with Trigers. (2013) Multiple database stuff... (1999) Database changes (1998) expired beta (1997) SSL do I need it?? (1998) Calendar (1997) No Wanna Duppys (1998) emailer setup (1997) [OT] Happy Turkey Day! (2003) apparently to problem isolated (1997) b12 cannot limit records returned and more. (1997) I have observed and I am gone. (1998) WebCatalog v2.1.1 (1998) Bug Report, maybe (1997) help! problem using [referrer] still in 2.01 (1997) Strange intermittent WebDNA problems (2008)