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 Eagle StarNine Technologies http://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 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.Hope this helps,Marc Eagle StarNine Technologies http://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:

Setting up shop (1997) Communigate+Webcat (2001) WebCatalog Use Question (1997) RE: Loss in form (1998) syntax question, not in online refernce (1997) Search/sort in URL Was: GuestBook example (1997) Web Catalog 2 demo (1997) Safari browser and WebDNA set-cookies (2003) Upgrading to 4.0 (2000) Mac app. that converts e-mails (2000) Sending PGP Mail from WebCatalog (2000) Search results templates (1996) WebMerchant 1.6 and SHTML (1997) Disappearing data (2002) stop shoiwif working whilst generating pages (2005) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) using showpage and showcart commands (1996) WebTEN vs webSTAR (1998) WebMerchant when CC network is down - bug? (1998) Problems with [Search] param - Mac Plugin b15 (1997)