Re: [WebDNA] ww- whole word in search tag

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110305
interpreted = N
texte = --Apple-Mail=_DA2EE40D-393C-421F-86FE-7E9DEF3DB496 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Thanks a bunch. Worked great. Steve B *I wonder why the docs written a little more logical for attributes like = these? On Apr 2, 2013, at 10:44 PM, John Buler = wrote: >=20 >> Hi Al,, >>=20 >> I have a search tag using the wo: 'word-or' comparison. >>=20 >> [search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D[searc= hforthis]&woCATEGORYdata=3D[searchforthis]]=20 >>=20 >> If I search for the word Oven, it correctly finds the word in the = RECORD_NAME field, but it also supplies the word 'proven' from the = TEXT_1 field. >> My customer doesn't want this. >>=20 >> So I tried various uses of the ww: 'whole-word' comparison and I = can't get any results that work. >>=20 >> ww in the TEXT_1 field only didn't work. >> [search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D[searc= hforthis]&woCATEGORYdata=3D[searchforthis]]=20 >>=20 >> ww in all the fields didn't work. >> [search = db=3Dproducts.db&wwRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D[searc= hforthis]&wwCATEGORYdata=3D[searchforthis]]=20 >=20 >=20 > try it like this: (this is what the docs really are saying to do) >=20 > [search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D[searc= hforthis]&TEXT_1word=3Dww&woCATEGORYdata=3D[searchforthis]] >=20 > I would probably wrap the "[searchforthis]" in [url]...[/url] too, if = I were you, but that is another topic. >=20 > -Govinda > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_DA2EE40D-393C-421F-86FE-7E9DEF3DB496 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Thanks a bunch.    Worked great.
Steve = B

*I wonder why the docs written a little more = logical for attributes like = these?



On Apr 2, = 2013, at 10:44 PM, John Buler <govinda.webdnatalk@gmail.com<= /a>> wrote:


Hi Al,,

I have a search tag using the = wo: 'word-or' comparison.

[search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D= [searchforthis]&woCATEGORYdata=3D[searchforthis]] 

=
If I search for the word Oven, it correctly finds the word in = the RECORD_NAME field, but it also supplies the word 'proven' from = the TEXT_1 field.
My customer doesn't want = this.

So I tried various uses of the ww: = 'whole-word' comparison = and I can't get any results that work.

ww in the TEXT_1 field = only didn't work.
[search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D= [searchforthis]&woCATEGORYdata=3D[searchforthis]] 

=
ww in all the fields didn't work.
[search = db=3Dproducts.db&wwRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D= [searchforthis]&wwCATEGORYdata=3D[searchforthis]] 


try it like this: =  (this is what the docs really are saying to = do)

[search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D= [searchforthis]&TEXT_1word=3Dww&woCATEGORYdata=3D[searchforthis]]<= /div>

I would probably wrap the "[searchforthis]" in = [url]...[/url] too, if I were you, but that is another = topic.

-Govinda
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives:
http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_DA2EE40D-393C-421F-86FE-7E9DEF3DB496-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ww- whole word in search tag (John Buler 2013)
  2. Re: [WebDNA] ww- whole word in search tag (Stephen Braun 2013)
  3. Re: [WebDNA] ww- whole word in search tag (John Buler 2013)
  4. [WebDNA] ww- whole word in search tag (Stephen Braun 2013)
--Apple-Mail=_DA2EE40D-393C-421F-86FE-7E9DEF3DB496 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Thanks a bunch. Worked great. Steve B *I wonder why the docs written a little more logical for attributes like = these? On Apr 2, 2013, at 10:44 PM, John Buler = wrote: >=20 >> Hi Al,, >>=20 >> I have a search tag using the wo: 'word-or' comparison. >>=20 >> [search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D[searc= hforthis]&woCATEGORYdata=3D[searchforthis]]=20 >>=20 >> If I search for the word Oven, it correctly finds the word in the = RECORD_NAME field, but it also supplies the word 'proven' from the = TEXT_1 field. >> My customer doesn't want this. >>=20 >> So I tried various uses of the ww: 'whole-word' comparison and I = can't get any results that work. >>=20 >> ww in the TEXT_1 field only didn't work. >> [search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D[searc= hforthis]&woCATEGORYdata=3D[searchforthis]]=20 >>=20 >> ww in all the fields didn't work. >> [search = db=3Dproducts.db&wwRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D[searc= hforthis]&wwCATEGORYdata=3D[searchforthis]]=20 >=20 >=20 > try it like this: (this is what the docs really are saying to do) >=20 > [search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D[searc= hforthis]&TEXT_1word=3Dww&woCATEGORYdata=3D[searchforthis]] >=20 > I would probably wrap the "[searchforthis]" in [url]...[/url] too, if = I were you, but that is another topic. >=20 > -Govinda > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_DA2EE40D-393C-421F-86FE-7E9DEF3DB496 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Thanks a bunch.    Worked great.
Steve = B

*I wonder why the docs written a little more = logical for attributes like = these?



On Apr 2, = 2013, at 10:44 PM, John Buler <govinda.webdnatalk@gmail.com<= /a>> wrote:


Hi Al,,

I have a search tag using the = wo: 'word-or' comparison.

[search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D= [searchforthis]&woCATEGORYdata=3D[searchforthis]] 

=
If I search for the word Oven, it correctly finds the word in = the RECORD_NAME field, but it also supplies the word 'proven' from = the TEXT_1 field.
My customer doesn't want = this.

So I tried various uses of the ww: = 'whole-word' comparison = and I can't get any results that work.

ww in the TEXT_1 field = only didn't work.
[search = db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D= [searchforthis]&woCATEGORYdata=3D[searchforthis]] 

=
ww in all the fields didn't work.
[search = db=3Dproducts.db&wwRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D= [searchforthis]&wwCATEGORYdata=3D[searchforthis]] 


try it like this: =  (this is what the docs really are saying to = do)

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_DA2EE40D-393C-421F-86FE-7E9DEF3DB496-- Stephen Braun

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:

[ValidCard] (2000) URL encoding (1998) nesting limits? (1998) possible, WebCat2.0 and checkboxes-restated (1997) Re:quit command on NT (1997) Emailer (WebCat2) (1997) includes and cart numbers (1997) [WriteFile] problems (1997) db extesion (2000) OT: Pass variables to asp (2000) WCS Newbie question (1997) Custom buttons using site builder (2005) Showif, Hideif reverse logic ? (1997) Multiple prices (1997) Stopping bad HTML propagation ? (1997) No data - More Info (1997) New syntax feedback for 4.0 (2000) Hard Questions ? (1997) b12 cannot limit records returned and more. (1997) RE: New WebCatalog Version !!! (1997)