Re: searching for a variable range with in a found set

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43431
interpreted = N
texte = etc.........You can take out the startat stuff. If you're wanting a set number of results to show per page, use a max=XXX and the Shownext tag.Also, doing the search in a link and then adding a search context isn't going to work. Try putting the search elements into a form that is submitted to the results.tpl page. You can then use further sort if needed under the [founditems].GK > I want to find all car parts in my database that has a range from $100 to > $200 in a specific zipcode using a button on my default page. > > > href=results.tpl?&startat=1&--woGROUP1data=92127&--GROUP1field=zipcode&p1=1 > 00&p2=200 target=results>...100 - 200
> > > On the results page I have this script that should use the variables from > the button and search the database. Find the price range and sort by city > and price. > > > [search > db=admin/shortlistRes.db&startat=[startat]&deListPriceOrigdata=1&CITYsort=1& > ListPriceOrigsort=2&ListPriceOrigtype=num&max=10&[formvariables > name=--&exact=f][getchars > start=3][name][/getchars]=[url][value][/url]&[/formvariables][showif > [find_one]=T]eqzipcodedatarq=[url][__zipcode][/url][/showif]] > [hideif [success]=F] > > > Obviously I have no clue what I am doing and the throbbing in my eye is > getting worse, can anyone help me with this. ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: searching for a variable range with in a found set (Brian Fries 2002)
  2. Re: searching for a variable range with in a found set (Gary Krockover 2002)
  3. searching for a variable range with in a found set (catalogs 2002)
etc.........You can take out the startat stuff. If you're wanting a set number of results to show per page, use a max=XXX and the Shownext tag.Also, doing the search in a link and then adding a search context isn't going to work. Try putting the search elements into a form that is submitted to the results.tpl page. You can then use further sort if needed under the [founditems].GK > I want to find all car parts in my database that has a range from $100 to > $200 in a specific zipcode using a button on my default page. > > > href=results.tpl?&startat=1&--woGROUP1data=92127&--GROUP1field=zipcode&p1=1 > 00&p2=200 target=results>...100 - 200
> > > On the results page I have this script that should use the variables from > the button and search the database. Find the price range and sort by city > and price. > > > [search > db=admin/shortlistRes.db&startat=[startat]&deListPriceOrigdata=1&CITYsort=1& > ListPriceOrigsort=2&ListPriceOrigtype=num&max=10&[formvariables > name=--&exact=f][getchars > start=3][name][/getchars]=[url][value][/url]&[/formvariables][showif > [find_one]=T]eqzipcodedatarq=[url][__zipcode][/url][/showif]] > [hideif [success]=F] > > > Obviously I have no clue what I am doing and the throbbing in my eye is > getting worse, can anyone help me with this. ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Gary Krockover

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:

Shopping Cart w/Multiple Databases (1998) error (2000) Searching for all records (1998) searchable list archive (1997) Pager notification of completed orders (1998) WebCatalog f2 Installation (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] Auto Suggest Form (2014) ConvertChars (1998) TaxTotal Problem (1997) TEXTA-D (2003) protect tag on NT IIS (1997) Newbie problem blah blah blah (1997) shipcost (1997) t or f (1997) [WebDNA] Custom error pages on Apache? (2011) [showif [math (1999) Plugin or CGI or both (1997) Mac: LModelDirector bug fix (1997) Multiple shipping databases (1997)