Re: help needed w/ search params

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20349
interpreted = N
texte = Charles, it looks as if the parameters are correct. I assume that you are getting the correct responses from the search; i.e. houses that have as many or more bathrooms and bedrooms as required and that match the home type and are in the right county. I can't think of a way to further adjust the parameters to return the best matches first, because there is no way to determine which of the records returned is the best. What you might want to do is provide a way to sort on a particular field, so that the records returned are arranged descending by price, or something like that. You could buiid this into the parameters yourself, or give the user the option to choose their own sort method. charles kline wrote:> Well...I tried that just now and it didn't help. Hmmm...can anyone think > of anything else? This is the last thing I want to get done before I show > it to the client. It is also the one thing I have never tried before so > any help would be greatly appreciated. I keep reading the online docs, > but I have not seen anything else, unless it is an error in my logic? > > - Charles > > >>[Search > >>db=[State].db&clPricedata=[Price]&clPricedata=2500&eqCountydatarq=[County]& > >>geNumBdrdata=[NumBdr]&eqHomeTypedatarq=[HomeType]&geNumBathdata=[NumBath]&g > >>eSqrFtdata=[SqrFt]] > > > >Not sure if this will solve all your problems, but you're missing the > >parameters that tell WebCatalog which fields are to be treated as numbers. > > > >For instance, you need to add things like Pricetype=num&NumBathtype=num for > >all the numeric fields in your database. > > > >Technical Support | ==== eCommerce and Beyond ==== > >Pacific Coast Software | WebCatalog, WebMerchant, > >11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, > >San Diego, CA 92128 | Typhoon > >619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ > > > > > > _______________________________________________________________ > Charles Kline ckline@macsultants.com > > > MacSultants > Professional Solutions for Computer Systems > > Phone# 609-273-3255 > Fax# 609-273-3721 -- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (908) 222-9001 * * 111 Mali Drive * FAX: (908) 222-9002 * * North Plainfield, NJ * e-mail: help@altimac.com * * 07062-2355 * WWW: http://www.altimac.com * ************************************************************** Associated Messages, from the most recent to the oldest:

    
  1. Re: help needed w/ search params (Gil Poulsen 1998)
  2. Re: help needed w/ search params (charles kline 1998)
  3. Re: help needed w/ search params (PCS Technical Support 1998)
  4. help needed w/ search params (charles kline 1998)
Charles, it looks as if the parameters are correct. I assume that you are getting the correct responses from the search; i.e. houses that have as many or more bathrooms and bedrooms as required and that match the home type and are in the right county. I can't think of a way to further adjust the parameters to return the best matches first, because there is no way to determine which of the records returned is the best. What you might want to do is provide a way to sort on a particular field, so that the records returned are arranged descending by price, or something like that. You could buiid this into the parameters yourself, or give the user the option to choose their own sort method. charles kline wrote:> Well...I tried that just now and it didn't help. Hmmm...can anyone think > of anything else? This is the last thing I want to get done before I show > it to the client. It is also the one thing I have never tried before so > any help would be greatly appreciated. I keep reading the online docs, > but I have not seen anything else, unless it is an error in my logic? > > - Charles > > >>[Search > >>db=[State].db&clPricedata=[Price]&clPricedata=2500&eqCountydatarq=[County]& > >>geNumBdrdata=[NumBdr]&eqHomeTypedatarq=[HomeType]&geNumBathdata=[NumBath]&g > >>eSqrFtdata=[SqrFt]] > > > >Not sure if this will solve all your problems, but you're missing the > >parameters that tell WebCatalog which fields are to be treated as numbers. > > > >For instance, you need to add things like Pricetype=num&NumBathtype=num for > >all the numeric fields in your database. > > > >Technical Support | ==== eCommerce and Beyond ==== > >Pacific Coast Software | WebCatalog, WebMerchant, > >11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, > >San Diego, CA 92128 | Typhoon > >619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ > > > > > > _______________________________________________________________ > Charles Kline ckline@macsultants.com > > > MacSultants > Professional Solutions for Computer Systems > > Phone# 609-273-3255 > Fax# 609-273-3721 -- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (908) 222-9001 * * 111 Mali Drive * FAX: (908) 222-9002 * * North Plainfield, NJ * e-mail: help@altimac.com * * 07062-2355 * WWW: http://www.altimac.com * ************************************************************** Gil Poulsen

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:

Help! WebCat2 bug (1997) redirect within the ErrorMessages.db (2003) Country & Ship-to address & other fields ? (1997) New to WebCat, Help. (1998) possible, WebCat2.0 and checkboxes-restated (1997) more info on [setlineitems] (1997) SUMM=T does not summarize by the sort parameters ... (2003) Squares instead of spaces (2001) Date/Time format problems (1997) WebCat2b13 Command Reference Doc error (1997) [WebDNA] Show next..... (2010) carriage returns in data (1997) Initiating NewCart (1997) 'does not contain' operator needed ... (1997) Online reference (1997) How to show via drop down menu? (2000) Target wit redirect (1998) problems with 2 tags (1997) Emailer [cart] file names (1997) Was cart limit-- Limits (2002)