RE: creating writefile data from a nested search

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12053
interpreted = N
texte = >Ken - > >Sure, it works the same as the [sendmail] context in that it keeps the >formatting of the text containing the WebDNA. What I mean is > >[writefile thisFile] >[search db=xxx.db&neskudata=0] >fieldname1 fieldname2 fieldname3 >[founditems] >[fieldname1] [fieldname2] [fieldname3] >[/founditems] >[/search] >[/writefile] > >(there are tab characters between the field names and a return character >at the end of the line) >will write the results of the search to a file, with an extra line between >each [founditems] line. If you don't want the extra line, make >[founditems] look like > >[founditems][fieldname1] [fieldname2] [fieldname3] >[/founditems] > >instead. The search results are properly written to the file, by the way.I never put a founditems context completely inside a writefile context before. Thanks Marc! :)Sincerely, Ken Grome WebDNA Solutions Associated Messages, from the most recent to the oldest:

    
  1. RE: creating writefile data from a nested search (Kenneth Grome 1997)
  2. RE: creating writefile data from a nested search (Marc Eagle 1997)
>Ken - > >Sure, it works the same as the [sendmail] context in that it keeps the >formatting of the text containing the WebDNA. What I mean is > >[writefile thisFile] >[search db=xxx.db&neskudata=0] >fieldname1 fieldname2 fieldname3 >[founditems] >[fieldname1] [fieldname2] [fieldname3] >[/founditems] >[/search] >[/writefile] > >(there are tab characters between the field names and a return character >at the end of the line) >will write the results of the search to a file, with an extra line between >each [founditems] line. If you don't want the extra line, make >[founditems] look like > >[founditems][fieldname1] [fieldname2] [fieldname3] >[/founditems] > >instead. The search results are properly written to the file, by the way.I never put a founditems context completely inside a writefile context before. Thanks Marc! :)Sincerely, Ken Grome WebDNA Solutions Kenneth Grome

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:

Help needed! (1998) encryption madness (2004) 'does not contain' operator needed ... (1997) Accented chars and emailer (1998) Spawning Holdup? (2000) writing orders to a db (1997) Math (1997) ShowNext (1997) License (2003) problems with 2 tags (1997) Price spread (2002) Credit card processing - UK (1997) WebDelivery downloads alias, not original ? (1997) Browser frames and URLs in the Location field (2004) Forms Search Questions (1997) Auto conversion of URLs? (1998) Date Help! (2003) WebDNA hosting? ... (2004) emailer (1997) The 10 Mistakes Most Men Make With Women (2006)