Setting a range in a search

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17158
interpreted = N
texte = Hi,I'm trying to establish an expert search where the user can enter the range that he wants to search in. For example, there is a category called MILES and so I set up the code the following way:Miles: From to When I enter the miles 100000 to 150000, I receive back the correct data, but when I say 90000 or less to 150000 I get back nothing when I should get back the record I saw for 150000. A similar thing happened when I tried to do the same for price. I would enter 10000 to 15000 and get data back, but 9000 to 15000, nothing came back.Some help would be great.Thanks,Chris Martin Associated Messages, from the most recent to the oldest:

    
  1. Re: Setting a range in a search (Kenneth Grome 1998)
  2. Setting a range in a search (Chris Martin 1998)
Hi,I'm trying to establish an expert search where the user can enter the range that he wants to search in. For example, there is a category called MILES and so I set up the code the following way:Miles: From to When I enter the miles 100000 to 150000, I receive back the correct data, but when I say 90000 or less to 150000 I get back nothing when I should get back the record I saw for 150000. A similar thing happened when I tried to do the same for price. I would enter 10000 to 15000 and get data back, but 9000 to 15000, nothing came back.Some help would be great.Thanks,Chris Martin Chris Martin

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:

item sorting (1997) Trunk-gator (1997) Tax on shipping (1998) Showif -what am I missing??? (1999) Search in 2 or more catalogs (1997) multiple prices (1998) California Tax Rates (1998) Anyone using Verisign's Payflow Link for payment processing? (2000) Ruby on Rails (was Looping Search) (2006) cookie problems (1999) ConverChars (1999) WebCatalog Beta Documentation (1997) WML (2000) WebMerchant & AuthorizeNet setup? (2000) Multiple Items (1998) WebCat2: Items xx to xx shown, etc. (1997) OT: test (1998) WebCatalog Upgrade Pricing? (1997) [UPPERCASE] (1997) Still Stumped on ShowNext...HELP! (1997)