more trouble with [showif] in [search] = busted [shownext]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28547
interpreted = N
texte = I have a search context which finds orders within a date range input by the admin on the previous page. The founditems are further restricted in that they are required to contain the passed value for [AffilCode] (in the field AffilCode) if the admin has checked a checkbox named RequireAffil. (carriage returns added for clarity)[Search db=Orders-Main.db &mrDayOrdereddatarq=[mrDayOrdereddatarq] &xrDayOrdereddatarq=[xrDayOrdereddatarq] [showif [URL][RequireAffil][/URL]=yes]&eqAffilCodedatarq=[AffilCode][/showif] &max=[max] &startat=[start] &DayOrderedtype=date &TimeOrderedtype=time &DayOrderedsort=1 &TimeOrderedsort=2 &DayOrderedsdir=de &TimeOrderedsdir=de &no_cache=[random][random][random]]This works great except that when a [shownext] link is clicked then upon rerendering the page based on the new [start] value, the founditems are no longer restricted by the originally passed formvariable AffilCode. It finds any record within the date range with ANY AffilCode. Why? Perhaps in addition to just posting the fix, could some kind soul please explain all the principles involved in using [shownext] correctly... I keep getting stumped with them.??Thanks! :-)-John ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
  2. Re: more trouble with [showif] in [search] = busted [shownext] - SOLVED (John Butler 2000)
  3. Re: more trouble with [showif] in [search] = busted [shownext] (Kenneth Grome 2000)
  4. Re: more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
  5. Re: more trouble with [showif] in [search] = busted [shownext] (Kenneth Grome 2000)
  6. more trouble with [showif] in [search] = busted [shownext] (John Butler 2000)
I have a search context which finds orders within a date range input by the admin on the previous page. The founditems are further restricted in that they are required to contain the passed value for [AffilCode] (in the field AffilCode) if the admin has checked a checkbox named RequireAffil. (carriage returns added for clarity)[Search db=Orders-Main.db &mrDayOrdereddatarq=[mrDayOrdereddatarq] &xrDayOrdereddatarq=[xrDayOrdereddatarq] [showif [url][RequireAffil][/URL]=yes]&eqAffilCodedatarq=[AffilCode][/showif] &max=[max] &startat=[start] &DayOrderedtype=date &TimeOrderedtype=time &DayOrderedsort=1 &TimeOrderedsort=2 &DayOrderedsdir=de &TimeOrderedsdir=de &no_cache=[random][random][random]]This works great except that when a [shownext] link is clicked then upon rerendering the page based on the new [start] value, the founditems are no longer restricted by the originally passed formvariable AffilCode. It finds any record within the date range with ANY AffilCode. Why? Perhaps in addition to just posting the fix, could some kind soul please explain all the principles involved in using [shownext] correctly... I keep getting stumped with them.??Thanks! :-)-John ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to John Butler

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:

WebCat2 - [format thousands] (1997) flushing databases (2003) There's a bug in the math context ... (1997) Odd linefeed problem (2003) searchable list archive (1997) carriage returns in data (1997) Suggestion to expand [convertchars] ... (2000) [WebDNA] how to purge webdna cache of templates? (2009) Next X hits (1996) file upload type restrictions? (2001) Database Advice (1996) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) Wierd thing in ViewOrder.tpl (1999) Multiple edits/replacementsd to db. Possible? (1997) Restoring textarea stored in header (1998) PCS Emailer's role ? (1997) using showpage and showcart commands (1996) Plugin or CGI or both (1997) Dynamic Generation of PDFs? (2003) Country & Ship-to address & other fields ? (1997)