Re: searches with dash, period etc. (back form politeness)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 25940
interpreted = N
texte = I don't think wbrk is the problem in this example. My guess is that if you took out the nameword=ww parameter it would work exactly as it's supposed to. Without testing this myself, I see that the first item in the list is different from the other two because it doesn't begin with a space character. The words you are search for are: Joe Smith Joe Jones and Joe Roberts. The text Joe Jones doesn't appear in any field; only Joe Roberts does. Likewise for Joe Roberts. The word parameter only comes into effect when a match is made. I hope this helps.John.>I have a value list such as: [text]namelist=Joe Smith, Joe Jones, Joe >Roberts[/text] > >and a db with: >Name ID >Joe Smith 1 >Joe Jones 2 >Joe Roberts 3 >Joe Brown 4 > >My search is: >[search db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=,] >or >[search >db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=[url],[/url]] > >Which uses the wholeword modifier and specifies what the word delimiter is >(,) so the effect should be that the term Joe Smith is treated in the >search as a whole word, followed by Joe Jones & Joe Roberts, so that >all records are returned except for Joe Brown's. > >This now only returns the first instance - Joe Smith. URLing the break >character has no affect.--------------------------------- John A. Hill Smith Micro Software Internet Solutions Division eCommerce / Consulting / Hosting http://www.smithmicro.com (formerly Pacific Coast Software)------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: searches with dash, period etc. (back form politeness) (John Hill 2000)
  2. Re: searches with dash, period etc. (back form politeness) (Marty Schmid 2000)
I don't think wbrk is the problem in this example. My guess is that if you took out the nameword=ww parameter it would work exactly as it's supposed to. Without testing this myself, I see that the first item in the list is different from the other two because it doesn't begin with a space character. The words you are search for are: Joe Smith Joe Jones and Joe Roberts. The text Joe Jones doesn't appear in any field; only Joe Roberts does. Likewise for Joe Roberts. The word parameter only comes into effect when a match is made. I hope this helps.John.>I have a value list such as: [text]namelist=Joe Smith, Joe Jones, Joe >Roberts[/text] > >and a db with: >Name ID >Joe Smith 1 >Joe Jones 2 >Joe Roberts 3 >Joe Brown 4 > >My search is: >[search db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=,] >or >[search >db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=[url],[/url]] > >Which uses the wholeword modifier and specifies what the word delimiter is >(,) so the effect should be that the term Joe Smith is treated in the >search as a whole word, followed by Joe Jones & Joe Roberts, so that >all records are returned except for Joe Brown's. > >This now only returns the first instance - Joe Smith. URLing the break >character has no affect.--------------------------------- John A. Hill Smith Micro Software Internet Solutions Division eCommerce / Consulting / Hosting http://www.smithmicro.com (formerly Pacific Coast Software)------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 John Hill

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:

[WebDNA] Middle Question (2015) Explorer 3.0/ Access Denied! (1997) Next X hits (1996) Emailer (1997) Summing fields (1997) Lost Records in Database (2001) WebCat2 Append problem (B14Macacgi) (1997) Random question (1998) [WebDNA] reCAPTCHA and WebDNA (2010) Question about links (1999) tab as word delimiter (2000) WebCat2 as a chat server? (1997) PIXO with cometsite ... and/or other plugins (1998) Need something like [listchars] ... (2000) WebCat2: Formulas.db question (1997) Moment of Thanks (1997) Hyperlink in email (2002) Error: Too many nested [xxx] contexts (1997) Setting up shop (1997) Search/sort in URL Was: GuestBook example (1997)