Stymied by [ShowNext] with drop down list on a form

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21377
interpreted = N
texte = One of my [ShowNext] problems has been solved . . . . Thanks for the tipsBut . . .Here's my other scenario . . .I have a database with items that have been approved with a Y in the respective field. I also have a field called category which uses a drop down list at the entry stage and the search stage.I need to use [showNext] to show the first 10, then the second ten, etc.I seem to be having trouble with the drop down / selection parts . . .here's my initial search form

Choose a Category from the List

This works fine as is. I get a results page showing ALL the found category items.One the results page I do a quick search of the same database to show how many in the category have been found and I also bring up the Category as a table header to show which category was searched,[Search db=items.db&categorydatarq=[category]&approveddatarq=Y] Found [numFound] Approved Items in [category].This too works A-OK at this stage. All behaves as I want it to . . .BUT, when I try to use a ShowNext all hell brakes loose.I've been using this on my other ShowNext search pages and it works fine for my tests and the final page.[ShowNext position=begin&max=1] Previous Group [/ShowNext][ShowNext position=end&max=1] Next Group [/ShowNext]I CANNOT get any ShowNext to appear. it sorta seems like my second search on the results page where I also would have the ShowNext start to appear messes things up. I'm thinkin' my search again into the .db for the numfound result causes this new search to be the [SearchString] in the ShowNext code.I've tried different ways of indicating max values and approve field =Y all with no avail.Is there a better way to set up my code (Must be . . .) in order to make my searchs as well as the ShowNext behave as they do before I try to use any ShowNext stuff????It all works so well before I add the [ShowNext] [ /ShowNext] stuff in this other search the database page. Like always, many thanks for any tidbits of info . . . . . Richard richard@gravesource.com Associated Messages, from the most recent to the oldest:

    
  1. Stymied by [ShowNext] with drop down list on a form (Richard 1998)
  2. Stymied by [ShowNext] with drop down list on a form (Richard 1998)
One of my [shownext] problems has been solved . . . . Thanks for the tipsBut . . .Here's my other scenario . . .I have a database with items that have been approved with a Y in the respective field. I also have a field called category which uses a drop down list at the entry stage and the search stage.I need to use [shownext] to show the first 10, then the second ten, etc.I seem to be having trouble with the drop down / selection parts . . .here's my initial search form

Choose a Category from the List

This works fine as is. I get a results page showing ALL the found category items.One the results page I do a quick search of the same database to show how many in the category have been found and I also bring up the Category as a table header to show which category was searched,[Search db=items.db&categorydatarq=[category]&approveddatarq=Y] Found [numFound] Approved Items in [category].This too works A-OK at this stage. All behaves as I want it to . . .BUT, when I try to use a ShowNext all hell brakes loose.I've been using this on my other ShowNext search pages and it works fine for my tests and the final page.[ShowNext position=begin&max=1] Previous Group [/ShowNext][ShowNext position=end&max=1] Next Group [/ShowNext]I CANNOT get any ShowNext to appear. it sorta seems like my second search on the results page where I also would have the ShowNext start to appear messes things up. I'm thinkin' my search again into the .db for the numfound result causes this new search to be the [SearchString] in the ShowNext code.I've tried different ways of indicating max values and approve field =Y all with no avail.Is there a better way to set up my code (Must be . . .) in order to make my searchs as well as the ShowNext behave as they do before I try to use any ShowNext stuff????It all works so well before I add the [shownext] [ /ShowNext] stuff in this other search the database page. Like always, many thanks for any tidbits of info . . . . . Richard richard@gravesource.com Richard

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:

Webcat causing crashes left and right! (1997) [SearchString] usage (1997) [WebDNA] [announce] Developer Resource Center (2008) WebDNA 6 and OS X Tiger (2005) Buying sans cart (1997) UPDATE - Refusing connections issue ... (1999) Creating results.... (2003) WebCatalog Upgrade Pricing? (1997) WebCat editing, SiteGuard & SiteEdit (1997) WebDNA for Dummies (2004) Alternative colors? (2000) Format of Required fields error message (1997) [OT] HTML EMAIL program wanted (1999) Sorry WebCatalog server not running. (2002) WebDNA Intranet Edition public demo (2002) Weird happenings (1998) Multiple catalog databases and showcart (1997) [SearchString] usage (1997) PCS Frames (1997) practicing safe queries.. (2000)