Re: [searh] or [shownext]problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20089
interpreted = N
texte = Thanks for responding! Unfortunately, the fixes didn't have any effect. Below is a copy of my results page (I included a formvariables context for diagnostics). After pressing Show Items 2-2 (my max=1), it finds 0 ITEMS, yet it does startAt=2. It is as though when it repeats the search, the db is empty (because, as the formvariables results show below, all of the search criteria remain correct). ------- I assume I've implemented your suggestions correctly; I've added startat=[startat], so the lines in my original page have been modified to read:[search db=msports.db&eqNAMEdata=[key_words]&SKUsort=1&SKUsdir=de&cart=[cart]&max=1&startat=[startat]][shownext startat=[startat]]Thanks for your help, John ------------(results of pressing 'Show Items 2-2'; it prints out the table heading correctly, but since is finds O ITEMS, nothing else shows up)FOUND 0 ITEMS Cat ID Prod Name Description Price Photo A ction Show Shopping Cart Back to search command,search db,msports.db eqNAMEdata,item2 SKUsort,1 SKUsdir,de cart,298956354589 max,1 startAt,2 template,/WebCatalog/92198/test921_test2.tpl Kenneth Grome wrote:> >The following template does the initial search and display of the > >database correctly, but when I click on the show items x - x link to > >display the next set of item, it doesn't find the additional items > >(numfound=0). Any ideas about what I'm doing wrong? > > >You're missing the startat=[startat] parameter in your search string, and you're missing the startat=[start] parameter in your shownext links ... :) > > Sincerely, > Ken Grome > 808-737-6499 > WebDNA Solutions > mailto:ken@webdna.net > http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Solution: [searh] or [shownext]problem (John Bennett 1998)
  2. Re: [searh] or [shownext]problem (Kenneth Grome 1998)
  3. Re: [searh] or [shownext]problem (John Bennett 1998)
  4. Re: [searh] or [shownext]problem (Kenneth Grome 1998)
  5. [searh] or [shownext]problem (John Bennett 1998)
Thanks for responding! Unfortunately, the fixes didn't have any effect. Below is a copy of my results page (I included a formvariables context for diagnostics). After pressing Show Items 2-2 (my max=1), it finds 0 ITEMS, yet it does startAt=2. It is as though when it repeats the search, the db is empty (because, as the formvariables results show below, all of the search criteria remain correct). ------- I assume I've implemented your suggestions correctly; I've added startat=[startat], so the lines in my original page have been modified to read:[search db=msports.db&eqNAMEdata=[key_words]&SKUsort=1&SKUsdir=de&cart=[cart]&max=1&startat=[startat]][shownext startat=[startat]]Thanks for your help, John ------------(results of pressing 'Show Items 2-2'; it prints out the table heading correctly, but since is finds O ITEMS, nothing else shows up)FOUND 0 ITEMS Cat ID Prod Name Description Price Photo A ction Show Shopping Cart Back to search command,search db,msports.db eqNAMEdata,item2 SKUsort,1 SKUsdir,de cart,298956354589 max,1 startAt,2 template,/WebCatalog/92198/test921_test2.tpl Kenneth Grome wrote:> >The following template does the initial search and display of the > >database correctly, but when I click on the show items x - x link to > >display the next set of item, it doesn't find the additional items > >(numfound=0). Any ideas about what I'm doing wrong? > > >You're missing the startat=[startat] parameter in your search string, and you're missing the startat=[start] parameter in your shownext links ... :) > > Sincerely, > Ken Grome > 808-737-6499 > WebDNA Solutions > mailto:ken@webdna.net > http://www.webdna.net John Bennett

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:

Ok here is a question? (1997) JS Help (2004) [WebDNA] Setup (2011) taxTotal, grandTotal (1997) Resume Catalog ? (1997) Shopping cart not being assigned (1999) Help with Repost Data msg from form (1997) URGENT: WebCatalog Stalls (1998) Recording size of uploaded file? (2001) Visitor info (2000) Make sure I understand this??? (1997) Help! WebCat2 bug (1997) Thanks ! (1997) RE: date (1998) Verifying and adding new users (1997) OFF TOPIC: help wanted (1997) [TaxableTotal] - not working with AOL and IE (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Shopping carts and reloading pages (1997) New commands in Final candidate (1997)