Re: Sunday [search] puzzler

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25423
interpreted = N
texte = Ne'ermind...;)I had a variable that wasn't being passed properly, thus messing up the search...Thanks,Will---------- >From: Will Starck >To: (WebCatalog Talk) >Subject: Sunday [search] puzzler >Date: Sun, Dec 12, 1999, 5:54 PM >> Here's a search that searches for founditems based on a range of dates: > > > [search > db=orders.db&group1field=moddate&group2field=moddate&gegroup1datarq=[startda > te]&legroup2datarq=[enddate]&demoddatesort=1&demodtimesort=2] > > > > On the results page (found.tpl), I have a form with 2 radio buttons: > >
> [orderstatus]=Open]checked[/showif]> > [orderstatus]=Shipped]checked[/showif]> > > > >
> > > So, this page displays an order status (initially all orders are Open) and > then my staff can check Shipped and then a [replace] will update the > database like so: > > [replace > db=orders.db&eqfilenamedata=[filename]]orderstatus=[interpret][orderstatus[i > ndex]][/interpret][/replace] > > > Problem is, the search will display founditems with a [startdate] and > [enddate] from a form on the previous page, but if I reload these values by > clicking Update, blammo.... no search results display. > > If I add &nefilenamedata=[blank] to the search, everything works fine, but > of course this is not what I want... > > > Will > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > 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 > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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: Sunday [search] puzzler (Will Starck 1999)
  2. Sunday [search] puzzler (Will Starck 1999)
Ne'ermind...;)I had a variable that wasn't being passed properly, thus messing up the search...Thanks,Will---------- >From: Will Starck >To: (WebCatalog Talk) >Subject: Sunday [search] puzzler >Date: Sun, Dec 12, 1999, 5:54 PM >> Here's a search that searches for founditems based on a range of dates: > > > [search > db=orders.db&group1field=moddate&group2field=moddate&gegroup1datarq=[startda > te]&legroup2datarq=[enddate]&demoddatesort=1&demodtimesort=2] > > > > On the results page (found.tpl), I have a form with 2 radio buttons: > >
> [orderstatus]=Open]checked[/showif]> > [orderstatus]=Shipped]checked[/showif]> > > > >
> > > So, this page displays an order status (initially all orders are Open) and > then my staff can check Shipped and then a [replace] will update the > database like so: > > [replace > db=orders.db&eqfilenamedata=[filename]]orderstatus=[interpret][orderstatus[i > ndex]][/interpret][/replace] > > > Problem is, the search will display founditems with a [startdate] and > [enddate] from a form on the previous page, but if I reload these values by > clicking Update, blammo.... no search results display. > > If I add &nefilenamedata=[blank] to the search, everything works fine, but > of course this is not what I want... > > > Will > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > 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 > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Will Starck

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:

RAM variables (1997) Mac List Servers (was: Duplicate Hell) (1999) Replace/Commit not Replacing/Commiting (2000) Dummy Form Variables Needed (2000) How To question on setting up downloads (1997) [QuantityPrice] Not working in WebCatNT 2.0.1??? (1997) Pulling Captions from JPGs (2003) Affiliate program code (2004) service stop and restart (1997) [format 40s]text[/format] doesn't work (1997) calculating tax rates, mail order solutions and version 2 (1997) 2 databases (1997) Navigator 4.01 (1997) How do I send a 404 HTTP header ? (2004) [ShowNext] feature in 2.0 (1997) Searching with a form (2000) Sort Order on a page search (1997) Does ".tpl" index with SE's? (2003) how does [break] work? (1998) Duplicate Cart Numbers (1999)