Re: Search bug. Help

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43494
interpreted = N
texte = You cannot use the type=num with multiple values - WebDNA will try to convert the multiple values into a single number, as though you did a [math].20 .25[/math], which will essentially truncate the value at the first non-numeric / non-decimal character.Leave out the type=num and the let the comparisons be done as text.- brianAt 1:44 PM 9/17/02, marc malacarme wrote: >I though CTwbrk= described the data in the database? > >In any case I only get the first value returned .20 using the search below > >[search db=loose-dia.db&woCTdatarq=.20, .25&CTword=ww&CTwbrk=, &CTtype=num] > > >> Try adding &CTwbrk=, (comma and space) to your search. >> >> - brian >> >> At 1:29 PM 9/17/02, marc malacarme wrote: >>> If I use [search db=mydb.db&eqSHAPEdatarq=rd&woCTdatarq=.20 .25&CTword=ww] >>> only then when I search for 1.20 I get .20 as a valid result. >>> >>>> How about? >>>> >>>> [search db=mydb.db&eqSHAPEdatarq=rd&woCTdatarq=.20 .25&CTword=ww] >>>> >>>> >>>> >>>> Brian >>>> >>>> -----Original Message----- >>>> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf >>>> Of marc malacarme >>>> Sent: Tuesday, September 17, 2002 4:12 PM >>>> To: WebCatalog Talk >>>> Subject: Search bug. Help >>>> >>>> >>>> Webcat 4.5, osx, webstar5.1 >>>> >>>> The following search returned mime header information to the browser and >>>> then crashes webcat. >>>> >>>> [search db=mydb.db&eqSHAPEdatarq=rd&woCTdatarq=.20,.25,&CTtype=num] >>>> >>>> Mydb looks like this: >>>> >>>> shape ct >>>> rd .20 >>>> rd .25 >>>> pr .50 >>>> rd 1.25 >>>> rd 1.20 >>>> >>>> When I add cttype=num it crashes but without it it finds .20 inside 1.20 >>>> >>>> IF I remove the , it doesn't crash but only finds the first >>>>value .20 and >>>> not .20 and .25. >>>> >>>> How do you tell webcat to search for multiple values ie: .20 & >>>>.25 as whole >>>> numbers. Shouldn't there be a wn like there is a ww in wordbreaks. >>>> > >>> Any help would be appreciated------------------------------------------------------------- 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: Search bug. Help (John Peacock 2002)
  2. Re: Search bug. Help (Kenneth Grome 2002)
  3. Re: Search bug. Help (Kenneth Grome 2002)
  4. Re: Search bug. Help (Clint Davis 2002)
  5. Re: Search bug. Help (Brian Fries 2002)
  6. Re: Search bug. Help (Andrew Simpson 2002)
  7. Re: Search bug. Help (John Peacock 2002)
  8. Re: Search bug. Help (Kenneth Grome 2002)
  9. Re: Search bug. Help (marc malacarme 2002)
  10. Re: Search bug. Help (Kenneth Grome 2002)
  11. Re: Search bug. Help (Kenneth Grome 2002)
  12. Re: Search bug. Help (marc malacarme 2002)
  13. Re: Search bug. Help (marc malacarme 2002)
  14. Re: Search bug. Help (Kenneth Grome 2002)
  15. Re: Search bug. Help (Andrew Simpson 2002)
  16. Re: Search bug. Help (Kenneth Grome 2002)
  17. Re: Search bug. Help (Brian Fries 2002)
  18. Re: Search bug. Help (Rob Marquardt 2002)
  19. Re: Search bug. Help (Gary Krockover 2002)
  20. Re: Search bug. Help (Rob Marquardt 2002)
  21. Re: Search bug. Help (marc malacarme 2002)
  22. Re: Search bug. Help (marc malacarme 2002)
  23. Re: Search bug. Help (Brian Fries 2002)
  24. Re: Search bug. Help (Brian Boegershausen 2002)
  25. Re: Search bug. Help (Andrew Simpson 2002)
  26. Re: Search bug. Help (marc malacarme 2002)
  27. Re: Search bug. Help (marc malacarme 2002)
  28. Re: Search bug. Help (Glenn Busbin 2002)
  29. Re: Search bug. Help (Brian Boegershausen 2002)
  30. Search bug. Help (marc malacarme 2002)
You cannot use the type=num with multiple values - WebDNA will try to convert the multiple values into a single number, as though you did a [math].20 .25[/math], which will essentially truncate the value at the first non-numeric / non-decimal character.Leave out the type=num and the let the comparisons be done as text.- brianAt 1:44 PM 9/17/02, marc malacarme wrote: >I though CTwbrk= described the data in the database? > >In any case I only get the first value returned .20 using the search below > >[search db=loose-dia.db&woCTdatarq=.20, .25&CTword=ww&CTwbrk=, &CTtype=num] > > >> Try adding &CTwbrk=, (comma and space) to your search. >> >> - brian >> >> At 1:29 PM 9/17/02, marc malacarme wrote: >>> If I use [search db=mydb.db&eqSHAPEdatarq=rd&woCTdatarq=.20 .25&CTword=ww] >>> only then when I search for 1.20 I get .20 as a valid result. >>> >>>> How about? >>>> >>>> [search db=mydb.db&eqSHAPEdatarq=rd&woCTdatarq=.20 .25&CTword=ww] >>>> >>>> >>>> >>>> Brian >>>> >>>> -----Original Message----- >>>> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf >>>> Of marc malacarme >>>> Sent: Tuesday, September 17, 2002 4:12 PM >>>> To: WebCatalog Talk >>>> Subject: Search bug. Help >>>> >>>> >>>> Webcat 4.5, osx, webstar5.1 >>>> >>>> The following search returned mime header information to the browser and >>>> then crashes webcat. >>>> >>>> [search db=mydb.db&eqSHAPEdatarq=rd&woCTdatarq=.20,.25,&CTtype=num] >>>> >>>> Mydb looks like this: >>>> >>>> shape ct >>>> rd .20 >>>> rd .25 >>>> pr .50 >>>> rd 1.25 >>>> rd 1.20 >>>> >>>> When I add cttype=num it crashes but without it it finds .20 inside 1.20 >>>> >>>> IF I remove the , it doesn't crash but only finds the first >>>>value .20 and >>>> not .20 and .25. >>>> >>>> How do you tell webcat to search for multiple values ie: .20 & >>>>.25 as whole >>>> numbers. Shouldn't there be a wn like there is a ww in wordbreaks. >>>> > >>> Any help would be appreciated------------------------------------------------------------- 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/ Brian Fries

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:

Nitro plugin? (1998) [WebDNA] Poll: Discussion Forum (2009) Help formatting search results w/ table (1997) automating txt downloads for conversion to webcat db (2006) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) I'm tired of all this! (2000) Database Updates (1997) [format xs] freeze (1997) New Web Site Developers Database (1996) unitshipcost vs shipcosts (1997) WebCatalog for Postcards ? (1997) [WebDNA] WebDNA7 site randomly dropping tags (2011) Not really WebCat- (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Support ?? (1997) List Name Change (2002) The Guru Speaks-very long reply (1998) Server IP address? (1998) Webmerch Error (1998) page redirect in webDNA (1997)