Re: search problem

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45165
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 321 > >So 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.... and when you use it, make sure that none of the values you're searching for in that field are non-numeric. Because if they are non-numeric, your search will fail to find the records you might expect it to find. Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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 321 > >So 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.... and when you use it, make sure that none of the values you're searching for in that field are non-numeric. Because if they are non-numeric, your search will fail to find the records you might expect it to find. Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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/ Kenneth Grome

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:

japanese characters (1997) Problems with [Applescript] (1997) Server slowing down. (1997) Showif, Hideif reverse logic ? (1997) WebCat2b12 - nesting [tags] (1997) Showing once on a founditems (1997) Frames and WebCat (1997) [searchString] (1997) Initiating NewCart (1997) Sorting Results (1999) email preferences on NT (1997) email formatting (1999) change the number format (1997) WebMerchant 1.6 and https (1997) WebDNA wholesale ... (2002) Re:Searching for ALL / empty form field (1997) Date Sorting (1997) ErrorMessages.db (1998) [UPPERCASE] (1997) Remove from list server (1997)