Re: search problem

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45160
interpreted = N
texte = It looks like you're passing a search command via the form. Are you then using a search context on the landing page for the form? Take out the search on the landing page and just put a [founditems] on it.GK | I'm just testing at the moment and at this point it is a number, but I will | want it to be a string match. | | [Formvariables] loop: | | 1,template,IGroupAdmin:Applications (Mac OS 9):WebSTAR Server Suite 4. | 2:ClassPicsTest:picresults.tpl | 2,startat,1 | 3,max,1 | 4,AD_NUMBERdata,1234 | 5,SearchPic,Go Get It! | | | | > From: Gary Krockover | > Reply-To: (WebCatalog Talk) | > Date: Tue, 12 Nov 2002 15:06:30 -0600 | > To: (WebCatalog Talk) | > Subject: Re: search problem | > | > Is Ad_Number really a number? I thought your first post said it was a text | > field. Might of misread it though. If not a number, take out the | > &type=num. Then again, I don't see why Ad_Number would be anything but a | > number :) | > | > I guess you're passing the value via the form. If you put a formvariables | > at the top of the page, is the value passing correctly? | > | >
| > | >
| > | > Would be all you needed on the form to pass that value (don't need your | > search in the form). | > | > I've seen the value=[input][/input] part recommended here and have begun | > to use it myself. It shouldn't cause the issue either way though. | > | > GK | > | > | Tried that, if I use ne for my comparison I find the record. This is too | > | weird, I must be on drugs. | > | | > | This does not work: | > | [search db=classpic.db&eqAD_Numberdatarq=[Ad_Number]&Ad_Numbertype=num] | > | | > | This does: | > | [search db=classpic.db&neAD_Numberdatarq=[Ad_Number]&Ad_Numbertype=num] | > | | > | but this would find everything. | > | | > | > From: Gary Krockover | > | > Reply-To: (WebCatalog Talk) | > | > Date: Tue, 12 Nov 2002 14:51:22 -0600 | > | > To: (WebCatalog Talk) | > | > Subject: Re: search problem | > | > | > | > So you're not using a search context then? If you are using a context, | > then | > | > use the | > | > [search db=classpic.db&eqAD_Numberdatarq=[Ad_Number]] | > | > | > | > If not, then use: | > | > | > | > | > | > etc... | > | > | > | > etc... | > | > | > | > GK | > | > | > | > | > | > | I had on my search | > page. | > | > | | > | > | > From: Gary Krockover | > | > | > Reply-To: (WebCatalog Talk) | > | > | > Date: Tue, 12 Nov 2002 14:39:55 -0600 | > | > | > To: (WebCatalog Talk) | > | > | > Subject: Re: search problem | > | > | > | > | > | > Are you making it a required match? | > | > | > | > | > | > [search db=classpic.db&eqAD_NumberdataRQ=[Ad_Number]] | > | > | > | > | > | > GK | > | > | > | > | > | > | > | > | > | I must be brain dead after the holiday weekend. I need a search | > to | > | > give | > | > | > me | > | > | > | an exact match of a string. I'm only searching on one field, but | > I'm | > | > | > | obviously missing something. | > | > | > | | > | > | > | My search is: | > | > | > | | > | > | > | [search db=classpic.db&eqAD_Numberdata=[Ad_Number]] | > | > | > | | > | > | > | [founditems]... | > | > | > | [/founditems] | > | > | > | | > | > | > | [/search] | > | > | > | | > | > | > | I'm passing the data from a form using one field only and it must | > be | > | > an | > | > | > | exact match. AD_Numberdata is the text field name. | > | > | > | | > | > | > | Any help would be great. | > | > | > | | > | > | > | TIA | > | > | > | | > | > | > | Ken M ------------------------------------------------------------- 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)
It looks like you're passing a search command via the form. Are you then using a search context on the landing page for the form? Take out the search on the landing page and just put a [founditems] on it.GK | I'm just testing at the moment and at this point it is a number, but I will | want it to be a string match. | | [formvariables] loop: | | 1,template,IGroupAdmin:Applications (Mac OS 9):WebSTAR Server Suite 4. | 2:ClassPicsTest:picresults.tpl | 2,startat,1 | 3,max,1 | 4,AD_NUMBERdata,1234 | 5,SearchPic,Go Get It! | | | | > From: Gary Krockover | > Reply-To: (WebCatalog Talk) | > Date: Tue, 12 Nov 2002 15:06:30 -0600 | > To: (WebCatalog Talk) | > Subject: Re: search problem | > | > Is Ad_Number really a number? I thought your first post said it was a text | > field. Might of misread it though. If not a number, take out the | > &type=num. Then again, I don't see why Ad_Number would be anything but a | > number :) | > | > I guess you're passing the value via the form. If you put a formvariables | > at the top of the page, is the value passing correctly? | > | >
| > [input][/input]> | >
| > | > Would be all you needed on the form to pass that value (don't need your | > search in the form). | > | > I've seen the value=[input][/input] part recommended here and have begun | > to use it myself. It shouldn't cause the issue either way though. | > | > GK | > | > | Tried that, if I use ne for my comparison I find the record. This is too | > | weird, I must be on drugs. | > | | > | This does not work: | > | [search db=classpic.db&eqAD_Numberdatarq=[Ad_Number]&Ad_Numbertype=num] | > | | > | This does: | > | [search db=classpic.db&neAD_Numberdatarq=[Ad_Number]&Ad_Numbertype=num] | > | | > | but this would find everything. | > | | > | > From: Gary Krockover | > | > Reply-To: (WebCatalog Talk) | > | > Date: Tue, 12 Nov 2002 14:51:22 -0600 | > | > To: (WebCatalog Talk) | > | > Subject: Re: search problem | > | > | > | > So you're not using a search context then? If you are using a context, | > then | > | > use the | > | > [search db=classpic.db&eqAD_Numberdatarq=[Ad_Number]] | > | > | > | > If not, then use: | > | > | > | > | > | > etc... | > | > | > | > etc... | > | > | > | > GK | > | > | > | > | > | > | I had on my search | > page. | > | > | | > | > | > From: Gary Krockover | > | > | > Reply-To: (WebCatalog Talk) | > | > | > Date: Tue, 12 Nov 2002 14:39:55 -0600 | > | > | > To: (WebCatalog Talk) | > | > | > Subject: Re: search problem | > | > | > | > | > | > Are you making it a required match? | > | > | > | > | > | > [search db=classpic.db&eqAD_NumberdataRQ=[Ad_Number]] | > | > | > | > | > | > GK | > | > | > | > | > | > | > | > | > | I must be brain dead after the holiday weekend. I need a search | > to | > | > give | > | > | > me | > | > | > | an exact match of a string. I'm only searching on one field, but | > I'm | > | > | > | obviously missing something. | > | > | > | | > | > | > | My search is: | > | > | > | | > | > | > | [search db=classpic.db&eqAD_Numberdata=[Ad_Number]] | > | > | > | | > | > | > | [founditems]... | > | > | > | [/founditems] | > | > | > | | > | > | > | [/search] | > | > | > | | > | > | > | I'm passing the data from a form using one field only and it must | > be | > | > an | > | > | > | exact match. AD_Numberdata is the text field name. | > | > | > | | > | > | > | Any help would be great. | > | > | > | | > | > | > | TIA | > | > | > | | > | > | > | Ken M ------------------------------------------------------------- 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/ Gary Krockover

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:

Problem with WebDNA Store Order (2004) Draft Manual, Tutorial, and more (1997) WebDNA Quick Reference (Reserved Words) (2000) Applescript and OSX (2003) passing search criteria (1997) OK, here goes... (1997) Webcatalog acgi conflict? (1999) question: search return in order (1997) Possible to reset Linux file permissions w/in webcat [shell] ? (2000) Cross domains Shopping Carts (2003) Grepping to remove text & code (2004) RE: Checkboxes to add to cart... (1998) setting taxable to true (1997) authenticating a second user (1997) shipping costs (1997) Problems searching from a FORM (1997) suffix mapping for NT? (1997) So many lookers, hey smith micro (2003) WebCat 3.0.8 (2000) NT requires capitalized append? (2000)