numero = 45160
interpreted = N
texte = It looks like you're passing a search command via the form. Are you thenusing a search context on the landing page for the form? Take out thesearch 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 Iwill| 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 atext| > 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 buta| > number :)| >| > I guess you're passing the value via the form. If you put aformvariables| > 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 havebegun| > 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 istoo| > | weird, I must be on drugs.| > || > | This does not work:| > | [searchdb=classpic.db&eqAD_Numberdatarq=[Ad_Number]&Ad_Numbertype=num]| > || > | This does:| > | [searchdb=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 acontext,| > 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 asearch| > 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 itmust| > 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:
It looks like you're passing a search command via the form. Are you thenusing a search context on the landing page for the form? Take out thesearch 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 Iwill| 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 atext| > 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 buta| > number :)| >| > I guess you're passing the value via the form. If you put aformvariables| > 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 havebegun| > 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 istoo| > | weird, I must be on drugs.| > || > | This does not work:| > | [searchdb=classpic.db&eqAD_Numberdatarq=[Ad_Number]&Ad_Numbertype=num]| > || > | This does:| > | [searchdb=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 acontext,| > 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 asearch| > 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 itmust| > 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
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...