Re: search problem

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45163
interpreted = N
texte = Specifying Ad_Numbertype=num tells WebDNA to convert BOTh the value of the field and the value to which it is being compared to numbers prior to performing any comparisons or sorting.It appears to be the same as enclosing the values inside [math] contexts, which gives results like this:value as num 234ab 234 a2 (blank) 33-ABC (blank) 123.45.67 123.45 000321 321So this generally wreaks havoc on any field that contains non-numeric characters, and also eliminates any chance of a wo, bw or similar comparison working. It can definitely screw up your eq results as well - for example, with type=num, 123AB would match 00123XX, since the math would convert both values to 123.As a general rule, I do not use the type=num unless I need it for sorting purposes.- brianAt 10:29 PM 11/12/02, Frank Nordberg wrote: >Ken MacMurchy wrote: > >... >> >>This does not work: >>[search db=classpic.db&eqAD_Numberdatarq=[Ad_Number]&Ad_Numbertype=num] > > >A bit off topic perhaps, but what's the &Ad_Numbertype=num for? >Isn't that a bit superfluous if you're looking for one single exact >match? > >(Come to think of it, I see the origial post described [Ad_Number] >as a _text_ field. What happens if you ask WebCatalog to treat a >field as number field if it doesn't contain a strictly numeric >value?) > >Frank Nordberg >http://www.musicaviva.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: [WebDNA] Search Problem (Stuart Tremain 2011)
  2. Re: [WebDNA] Search Problem (Govinda 2011)
  3. Re: [WebDNA] Search Problem (Brian Fries 2011)
  4. Re: [WebDNA] Search Problem (Kenneth Grome 2011)
  5. Re: [WebDNA] Search Problem (Stuart Tremain 2011)
  6. Re: [WebDNA] Search Problem (Kenneth Grome 2011)
  7. Re: [WebDNA] Search Problem (Stuart Tremain 2011)
  8. Re: [WebDNA] Search Problem (Tom Duke 2011)
  9. Re: [WebDNA] Search Problem (Stuart Tremain 2011)
  10. Re: [WebDNA] Search Problem (William DeVaul 2011)
  11. Re: [WebDNA] Search Problem (Tom Duke 2011)
  12. [WebDNA] Search Problem (Stuart Tremain 2011)
  13. Re: still having search problem, please help :) ( Donovan Brooke 2004)
  14. Re: still having search problem, please help :) ( Brian Fries 2004)
  15. Re: still having search problem, please help :) ( Art Vargas 2004)
  16. Re: still having search problem, please help :) ( Donovan Brooke 2004)
  17. Re: still having search problem, please help :) ( Daniel Schutzsmith 2004)
  18. still having search problem, please help :) ( Art Vargas 2004)
  19. Re: Data Type Search Problem ( Justin Carroll 2004)
  20. Re: Data Type Search Problem ( Glenn Busbin 2004)
  21. Re: Data Type Search Problem ( Justin Carroll 2004)
  22. Re: Data Type Search Problem ( Donovan Brooke 2004)
  23. Re: Data Type Search Problem ( Justin Carroll 2004)
  24. Re: Data Type Search Problem ( Gary Krockover 2004)
  25. Re: Data Type Search Problem ( Justin Carroll 2004)
  26. Re: Data Type Search Problem ( Donovan Brooke 2004)
  27. Re: Data Type Search Problem ( Donovan Brooke 2004)
  28. Data Type Search Problem ( Justin Carroll 2004)
  29. Re: search problem (ken.macmurchy 2002)
  30. Re: search problem (Kenneth Grome 2002)
  31. Re: search problem (Kenneth Grome 2002)
  32. Re: search problem (Brian Fries 2002)
  33. Re: search problem (Frank Nordberg 2002)
  34. Re: search problem (Gary Krockover 2002)
  35. Re: search problem (Ken MacMurchy 2002)
  36. Re: search problem (Ken MacMurchy 2002)
  37. Re: search problem (Donovan 2002)
  38. Re: search problem (Gary Krockover 2002)
  39. Re: search problem (Ken MacMurchy 2002)
  40. Re: search problem (Gary Krockover 2002)
  41. Re: search problem (Daryl Mitchell 2002)
  42. Re: search problem (Ken MacMurchy 2002)
  43. Re: search problem (Gary Krockover 2002)
  44. search problem (Ken MacMurchy 2002)
  45. Search problem (Paul Berman 2002)
  46. Re: Search problem C++ (dale@gmr.dresdner.net 2000)
  47. Re: Search problem C++ (WebDNA Support 2000)
  48. Re: Search problem C++ (Jaishankar Jayaram 2000)
  49. Search problem C++ (Kevin Lippert 2000)
  50. Re: Search Problems (Art Vargas 2000)
  51. Re: Search Problems (Kenneth Grome 2000)
  52. Search Problems (Conley Hanson 2000)
  53. Re: group field search problem (Kenneth Grome 2000)
  54. group field search problem (Joseph D'Andrea 2000)
  55. Re: Still search problems! (Brian Boegershausen 1999)
  56. Re: Search problems! (Anup Setty 1999)
  57. Re: Search problems! (Kenneth Grome 1999)
  58. Still search problems! (Jimmi Kristensen 1999)
  59. Sv: Search problems! (Jimmi Kristensen 1999)
  60. Search problems! (Jimmi Kristensen 1999)
  61. re: date search problem (Allen Booth 1999)
  62. re: date search problem (Allen Booth 1999)
  63. Date Search Problem (Mike Davis 1999)
  64. Date Search Problem (Mike Davis 1999)
  65. Re: major search problem (Martin Gertz Bech 1998)
  66. major search problem (Martin Gertz Bech 1998)
  67. Re: major search problem (PCS Technical Support 1998)
  68. RE: major search problem (Olin Lagon 1998)
  69. Re: unusual search problem (John Hill 1998)
  70. Re: unusual search problem (Martin Gertz Bech 1998)
  71. Re: unusual search problem (Kenneth Grome 1998)
  72. Re: unusual search problem (Kenneth Grome 1998)
  73. Re: unusual search problem (John Hill 1998)
  74. Re: unusual search problem (PCS Technical Support 1998)
  75. unusual search problem (Kenneth Grome 1998)
  76. RE: Ongoing group search problems ... (Kenneth Grome 1997)
  77. RE: Ongoing group search problems ... (Marc Eagle 1997)
  78. Ongoing group search problems ... (Kenneth Grome 1997)
Specifying Ad_Numbertype=num tells WebDNA to convert BOTh the value of the field and the value to which it is being compared to numbers prior to performing any comparisons or sorting.It appears to be the same as enclosing the values inside [math] contexts, which gives results like this:value as num 234ab 234 a2 (blank) 33-ABC (blank) 123.45.67 123.45 000321 321So this generally wreaks havoc on any field that contains non-numeric characters, and also eliminates any chance of a wo, bw or similar comparison working. It can definitely screw up your eq results as well - for example, with type=num, 123AB would match 00123XX, since the math would convert both values to 123.As a general rule, I do not use the type=num unless I need it for sorting purposes.- brianAt 10:29 PM 11/12/02, Frank Nordberg wrote: >Ken MacMurchy wrote: > >... >> >>This does not work: >>[search db=classpic.db&eqAD_Numberdatarq=[Ad_Number]&Ad_Numbertype=num] > > >A bit off topic perhaps, but what's the &Ad_Numbertype=num for? >Isn't that a bit superfluous if you're looking for one single exact >match? > >(Come to think of it, I see the origial post described [Ad_Number] >as a _text_ field. What happens if you ask WebCatalog to treat a >field as number field if it doesn't contain a strictly numeric >value?) > >Frank Nordberg >http://www.musicaviva.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/ 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:

FWD: Autoproxy Bug with WebCatalog and FireSite (1997) Web*3 virtual hosting Webcatalog problem + Vicom bonus (1998) Postprocessing CCs (2000) upgrading (1997) Exclude by date - multiple (1997) Not reading code (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Separate SSL Server (1997) How to archive....? (1998) [item] appears after 'remove last item' ... (1997) random within a specified range (2001) previous orders (2002) emailer w/F2 (1997) Date fun with MySQL (2004) authnet good news (2003) Bug Report, maybe (1997) Listfiles and nothing found (2001) Navigator 4.01 (1997) WebCatalog can't find database (1997) [WebDNA] backup / mirror website & databases (2018)