Re: Still Stumped on ShowNext...HELP!

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14954
interpreted = N
texte = >Well I can't seem to get anywhere on resolving my ShowNext problems in >spite of following Ken and Gary's working examples. Again to recap: I'm >collecting variables on a form and passing them thru to an embedded search >on my results.tmpl. Fine so far - the records are displayed and a ShowNext >link appears, however clicking on the ShowNext link always finds 0 >records??? > >I'm extremely disperate to resolve this, any help is appreciated! Hi Marty,I was out this morning, so I just saw your message.You forgot to pass the search parameters from your shownext links to the search context. The search context won't know what [Spvar] and [plansvar] mean when you leave them out of your shownext links. Try this instead:[search db=bigtest.db&max=[AT]&wsplansdatarq=[plansvar]&neLast_namedata=[blank]&woSpecia ltydatarq=[Spvar]&asLast_namesort=1&startAt=[SA]][shownext position=begin&max=1] Previous G roup [/showNext][ShowNext position=end&max=1] Next Match ing Group [/showNext] [/search]I've never used those position=begin and max=1 parameters in my shownext stuff. They are kinda new to me and I still tend to write my code without them, but if they work the way they are advertised, then I think these examples should work for you. If not, let me know ...Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Associated Messages, from the most recent to the oldest:

    
  1. Re: Still Stumped on ShowNext...HELP! (Marty Schmid 1997)
  2. Re: Still Stumped on ShowNext...HELP! (Marty Schmid 1997)
  3. Re: Still Stumped on ShowNext...HELP! (Kenneth Grome 1997)
  4. Re: Still Stumped on ShowNext...HELP! (Olin 1997)
  5. Re: Still Stumped on ShowNext...HELP! (Grant Hulbert 1997)
  6. Still Stumped on ShowNext...HELP! (Marty Schmid 1997)
>Well I can't seem to get anywhere on resolving my ShowNext problems in >spite of following Ken and Gary's working examples. Again to recap: I'm >collecting variables on a form and passing them thru to an embedded search >on my results.tmpl. Fine so far - the records are displayed and a ShowNext >link appears, however clicking on the ShowNext link always finds 0 >records??? > >I'm extremely disperate to resolve this, any help is appreciated! Hi Marty,I was out this morning, so I just saw your message.You forgot to pass the search parameters from your shownext links to the search context. The search context won't know what [Spvar] and [plansvar] mean when you leave them out of your shownext links. Try this instead:[search db=bigtest.db&max=[AT]&wsplansdatarq=[plansvar]&neLast_namedata=[blank]&woSpecia ltydatarq=[Spvar]&asLast_namesort=1&startAt=[SA]][shownext position=begin&max=1] [thisurl]?AT=[AT]&plansvar=[plansvar]&Spvar=[Spvar]&SA=[start]>Previous G roup [/showNext][ShowNext position=end&max=1] [thisurl]?AT=[AT]&plansvar=[plansvar]&Spvar=[Spvar]&SA=[start]>Next Match ing Group [/showNext] [/search]I've never used those position=begin and max=1 parameters in my shownext stuff. They are kinda new to me and I still tend to write my code without them, but if they work the way they are advertised, then I think these examples should work for you. If not, let me know ...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:

simple [convertChars] Q (2000) Quickie question on the email templates (1997) failure to encrypt (or maybe decrypt) (1999) [WebDNA] Quality SSL (2009) pull downs (1997) Need WebDNA that crashes server for testing (2000) Product tag (2001) Weird Math and SV (1997) problems with 2 tags (1997) Review comparison by PC Magazine: Open for On-lineBusiness (1997) Sorting by date (1997) WebDNA Developer Edition - Host config problem (2003) Attn: Bug in GeneralStore example b15 (1997) For those of you not on the WebCatalog Beta... (1997) Hiding HTML and breaking the page (1997) Multiple catalog databases and showcart (1997) WebDNA and FreeBSD 6.1 with Apache (2007) Appligent PDFs (was: OT - Dig Sigs) (2004) Upgrading old WebCat Database Files (1997) Document Contains No Data! (1997)