RE: creating writefile data from a nested search
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12052
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.Hope this helps,Marc EagleStarNine Technologieshttp://www.smithmicro.com/>From: WebDNA-Talk@smithmicro.com on Thu, Jun 19, 1997 12:28 PM>Subject: creating writefile data from a nested search>To: WebDNA-Talk@smithmicro.com>>Can I determine what goes into a [writefile] file by making the 'guts' of>that file the result of a search? This is what I mean ...>>[writefile thisFile]>[search db=xxx.db&neskudata=0]>fieldname1
fieldname2fieldname3>[founditems]>[fieldname1] [fieldname2][fieldname3]>[/founditems]>[/search]>[/writefile]>>In this example, I will need to get the actual  and >characters inside the writefile context so the file is formatted properly>as a tab-delimited text file. Is this possible?>>Sincerely, Ken Grome>WebDNA Solutions
Associated Messages, from the most recent to the oldest:
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.Hope this helps,Marc EagleStarNine Technologieshttp://www.smithmicro.com/>From: WebDNA-Talk@smithmicro.com on Thu, Jun 19, 1997 12:28 PM>Subject: creating writefile data from a nested search>To: WebDNA-Talk@smithmicro.com>>Can I determine what goes into a [writefile] file by making the 'guts' of>that file the result of a search? This is what I mean ...>>[writefile thisFile]>[search db=xxx.db&neskudata=0]>fieldname1fieldname2fieldname3>[founditems]>[fieldname1] [fieldname2][fieldname3]>[/founditems]>[/search]>[/writefile]>>In this example, I will need to get the actual  and >characters inside the writefile context so the file is formatted properly>as a tab-delimited text file. Is this possible?>>Sincerely, Ken Grome>WebDNA Solutions
Marc Eagle 
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:
 
sharing cookie recepies (1998)
 
Online reference (1997)
 
webcatalog [date] bug...not (1999)
 
Thanks Grant (1997)
 
A little syntax help (1997)
 
Setting up a lightbox (2002)
 
Help with Repost Data msg from form (1997)
 
WebCat2b13MacPlugIn - More limits on [include] (1997)
 
affiliate marketing program (1998)
 
Help! WebCat2 bug (1997)
 
Re2: frames & carts (1997)
 
NT IIS number of files limit (2003)
 
Generating unique SKU from [cart] - FIXED! (1997)
 
Carat character in path (2001)
 
math on date? (1997)
 
Img in goodpath (2001)
 
WebCat 4.0 & WebMerchant (2000)
 
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
 
[cart] Taxrate - seriously ..  (2002)
 
WebCommerce: Folder organization ? (1997)