Re: Still Stumped on ShowNext...HELP!

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14956
interpreted = N
texte = YES! YES! Victory! Thanks so much for the help and explanation. I couldn't for the life of me figure out why my initial embedded search worked and not any of the subsequent ShowNext stuff. Now I understand... I was just assuming (wrongly) that the values for those variables *stuck* with search context. Now I'll know to pass them again. Thanks again for the help. I've got to demo this thing in the morning and panic was raising it's ugly head. -marty Ken wrote: >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]&woSpeci >a >ltydatarq=[Spvar]&asLast_namesort=1&startAt=[SA]] > >[shownext position=begin&max=1] >href=[thisurl]?AT=[AT]&plansvar=[plansvar]&Spvar=[Spvar]&SA=[start]>Previous >G >roup >[/showNext] > >[ShowNext position=end&max=1] >href=[thisurl]?AT=[AT]&plansvar=[plansvar]&Spvar=[Spvar]&SA=[start]>Next >Match >ing Group >[/showNext] >[/search] > 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)
YES! YES! Victory! Thanks so much for the help and explanation. I couldn't for the life of me figure out why my initial embedded search worked and not any of the subsequent ShowNext stuff. Now I understand... I was just assuming (wrongly) that the values for those variables *stuck* with search context. Now I'll know to pass them again. Thanks again for the help. I've got to demo this thing in the morning and panic was raising it's ugly head. -marty Ken wrote: >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]&woSpeci >a >ltydatarq=[Spvar]&asLast_namesort=1&startAt=[SA]] > >[shownext position=begin&max=1] >href=[thisurl]?AT=[AT]&plansvar=[plansvar]&Spvar=[Spvar]&SA=[start]>Previous >G >roup >[/showNext] > >[ShowNext position=end&max=1] >href=[thisurl]?AT=[AT]&plansvar=[plansvar]&Spvar=[Spvar]&SA=[start]>Next >Match >ing Group >[/showNext] >[/search] > Marty Schmid

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:

WebCatalog can't find database (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) [WebDNA] Crashing again (2008) Sendmail - Attachment / My First Post (2001) Multiple catalog databases and showcart (1997) WC2.0 Memory Requirements (1997) migrating from MacOS to unix (2000) Adding a donation amount (2000) POP Mail Server reseting (1998) Showif for mulitple variations (1997) Help! WebCat2 bug (1997) [url] (1997) HomePage Caution (1997) Banner DNA (1997) [WebDNA] fastcgi 7+ & [cart]? (2010) Errata: WCS Newbie question (1997) textarea to page display (1998) ShowNext (1997) form data submission gets truncated (1997) Req for code: upload and append to DB (2002)