Re: close to search

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38028
interpreted = N
texte = Andrew, I think you are searching for all total_number_books_local that are within 500 of the number in the variable (according to the description in the docs) - also try NO_BOOKStype=number .. I always find the typ=num sporadic - the type=number always seems to work for me even though it is not specified in the docs.Alain> does anybody know why a search such as the following does not do what it is > suppose to do??? > > [search > db=postage.db&eqCOUNTRY_FROMdatarq=[shiptocountry]&eqCOUNTRY_TOdatarq=NAT&NO > _BOOKStype=num&clNO_BOOKSdata=[total_number_books_local]&clNO_BOOKSdata=500& > max=1] > > Instead of returning one record that most closely matches the number of > books it returns all the records. what am i doing wrong... > > has anybody had any success with a close to search??? > > Andrew Simpson > > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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: close to search (Andrew Simpson 2001)
  2. Re: close to search (Ron Parker 2001)
  3. Re: close to search (Andrew Simpson 2001)
  4. Re: close to search (Alain Russell 2001)
  5. close to search (Andrew Simpson 2001)
Andrew, I think you are searching for all total_number_books_local that are within 500 of the number in the variable (according to the description in the docs) - also try NO_BOOKStype=number .. I always find the typ=num sporadic - the type=number always seems to work for me even though it is not specified in the docs.Alain> does anybody know why a search such as the following does not do what it is > suppose to do??? > > [search > db=postage.db&eqCOUNTRY_FROMdatarq=[shiptocountry]&eqCOUNTRY_TOdatarq=NAT&NO > _BOOKStype=num&clNO_BOOKSdata=[total_number_books_local]&clNO_BOOKSdata=500& > max=1] > > Instead of returning one record that most closely matches the number of > books it returns all the records. what am i doing wrong... > > has anybody had any success with a close to search??? > > Andrew Simpson > > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Alain Russell

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:

New public beta available (1997) search zip codes ranges (2003) required fields (1999) Webcatalog quitting (1997) ExpireDate Zero or Greater than Today (2006) Sorting (2000) PIXO with cometsite ... and/or other plugins (1998) Two prices in shoppingcart? (1997) WebCat b13 CGI -shownext- (1997) Windows nt service pack 3 upgrade (1997) Showif Context combined with Search (1997) Setting up WebCatalog with Retail Pro data (1996) Problem with [Search] inside of [Loop]? (1997) Emailer Q (2002) listfiles, moving files (1998) WebCat2: Items xx to xx shown, etc. (1997) running WebCatalog under Apache on NT? (2000) Banners (1997) RE: Can a database get stomped by simultaneous access? (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997)