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:

Where is f2? (1997) FoundItems Question (1998) Copyright ? (1997) (1998) problems with 2 tags shakur (1997) attn: smitmicro - cart limitation (2002) ssl/empty cart problem (2003) Alpha List for Catagory (1998) Reserved words - Enhancement request (2000) Country & Ship-to address & other fields ? (1997) Append again (1999) [cart] clarification... (1997) multi-paragraph fields (1997) NEW NetProfessional Revealed (1998) TRAINING videos - Prove IT. (1998) Permissions with 3.06 Linux (2000) This list needs a digest: rant, rave... (1997) Listserver problem (1997) quantity minimum problem (1997) how to check for no value while using [URL] to prevent cr (1999)