Re: Linebreak as a delimiter in listwords?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49602
interpreted = N
texte = Thanks Rob (and Dan),I was so close, yet so far...GK-----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Rob Marquardt Sent: Thursday, April 17, 2003 12:59 PM To: WebDNA Talk Subject: Re: Linebreak as a delimiter in listwords? on 4/17/2003 12:34 pm, Gary Krockover at gary@garykrockover.com so noted...> I have this, and it almost works except that the firstname and lastname are > on seperate rows of the db: > > [search db=persons.db&nenamedatarq=[blank]&namesort=1&namesdir=as] > [founditems] > [ListWords Words=[name]&delimiters=,] > [index]: [word]
> [append db=personsfinal.db][!] > [/!]lastname=[showif [index]=1][word][/showif][!] > [/!]&firstname=[showif [index]=2][word][/showif][!] > [/!][/append] > [/ListWords] > [/founditems] > [/search]Break the append out of the listwords loop.[search db=persons.db&nenamedatarq=[blank]&namesort=1&namesdir=as] [founditems] [ListWords Words=[name]&delimiters=,] [text]name[index]=[word][/text] [/ListWords] [append db=personsfinal.db][!] [/!]lastname=[name1][!] [/!]&firstname=[name2][!] [/!][/append] [/founditems] [/search] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Linebreak as a delimiter in listwords? (Alain Russell 2003)
  2. Re: Linebreak as a delimiter in listwords? (Gary Krockover 2003)
  3. Re: Linebreak as a delimiter in listwords? (Dan Strong 2003)
  4. Re: Linebreak as a delimiter in listwords? (Rob Marquardt 2003)
  5. Re: Linebreak as a delimiter in listwords? (Dan Strong 2003)
  6. Re: Linebreak as a delimiter in listwords? (Gary Krockover 2003)
  7. Re: Linebreak as a delimiter in listwords? (Donovan 2003)
  8. Re: Linebreak as a delimiter in listwords? (Gary Krockover 2003)
  9. Re: Linebreak as a delimiter in listwords? (Gary Krockover 2003)
  10. Re: Linebreak as a delimiter in listwords? (Nitai @ ComputerOil 2003)
  11. Re: Linebreak as a delimiter in listwords? (Charles Kline 2003)
  12. Re: Linebreak as a delimiter in listwords? (Nitai @ ComputerOil 2003)
  13. Re: Linebreak as a delimiter in listwords? (Gary Krockover 2003)
  14. Linebreak as a delimiter in listwords? (Gary Krockover 2003)
Thanks Rob (and Dan),I was so close, yet so far...GK-----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Rob Marquardt Sent: Thursday, April 17, 2003 12:59 PM To: WebDNA Talk Subject: Re: Linebreak as a delimiter in listwords? on 4/17/2003 12:34 pm, Gary Krockover at gary@garykrockover.com so noted...> I have this, and it almost works except that the firstname and lastname are > on seperate rows of the db: > > [search db=persons.db&nenamedatarq=[blank]&namesort=1&namesdir=as] > [founditems] > [ListWords Words=[name]&delimiters=,] > [index]: [word]
> [append db=personsfinal.db][!] > [/!]lastname=[showif [index]=1][word][/showif][!] > [/!]&firstname=[showif [index]=2][word][/showif][!] > [/!][/append] > [/ListWords] > [/founditems] > [/search]Break the append out of the listwords loop.[search db=persons.db&nenamedatarq=[blank]&namesort=1&namesdir=as] [founditems] [ListWords Words=[name]&delimiters=,] [text]name[index]=[word][/text] [/ListWords] [append db=personsfinal.db][!] [/!]lastname=[name1][!] [/!]&firstname=[name2][!] [/!][/append] [/founditems] [/search] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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://webdna.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:

Multiple edits/replacementsd to db. Possible? (1997) Unable to append (2001) .. more on sliding discounts... (1997) Limitations on fields? Server is crashing (1997) Archives are missing (2003) SM: MySQL and Numbers (BUG) (2005) Emailer and encryption (1997) PR: WebCatalog Affiliates Program Announced -- Share the (2000) price formula (1999) [OT] MS Security Flaw (2000) Displaying photo attached to first record (1997) Drop Down Menus (2002) To Use Cookies or Not To Use Cookies (2003) For those of you not on the WebCatalog Beta... (1997) Separate SSL Server (1997) Show next 2 examples that work (1997) WebCat2 beta 11 - new prefs ... (1997) Databases going to sleep (1998) Emailer+NetTen [same machine]=? (2000) Mozilla/4. and Browser Info.txt (1997)