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:

OT-JS why it does not run on Mac (2001) RE: WebCat: Access denied, but why? (1997) WCS Newbie question (1997) Fwd: HTML encoding in URLs (1997) PCS Frames (1997) Re:Has this happened to you? (was:Emailer Chokes on bad address) (1997) [WebDNA] Build Name for 6.1 (2008) Can't Update records (1997) ODBC problems between webcat and filemaker pro (2001) Conveting Characters to Graphics (1997) Multiple Newcarts (1996) [date] insanity! (2001) test please ignore (1999) New Plug-in and Type 11 errors (1997) [OT] (waaaay OT) (2004) Big Databases (1997) t or f (1997) multi-paragraph fields (1997) FYI: virus alert (1996) searching by date range help needed (1997)