Re: many-to-one problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17197
interpreted = N
texte = Hi Peter,I'm glad my suggestion got you started. Writing a temp db and using summ=T to search that db is just what I would have done. Since your application of this technique is not particularly demanding as far as time or resources, writing a temp db is a good solution.>BTW - I discovered some strange behavior: >[appendfile somefile]sometext[/appendfile] >does not put a carriage return at the end of the line, I have to >write it like this: >[appendfile somefile]sometext >[/appendfile] Appendfile and writefile are *supposed* to work like this. if you want a carriage return after the sometext, you have to put it there ... :)Some people get the [append] context confused with [appendfile] -- and they perform very different functions.1- The [append] context writes field values to an existing WebCat database file -- in the proper WebCat database format.2- The [appendfile] context appends EXACTLY what you type into the context -- nothing more and nothing less. Writefile does the same thing, it writes exactly what you enter into the [writefile] context.The only thing that gets changed inside an appendfile (or writefile or sendmail) context are the enclosed WebDNA tags, which are replaced *before* the text is appended. Everything else gets written exactly the way you type it. That's why careful formatting is very important when using appendfile, writefile and sendmail ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: many-to-one problem (Kenneth Grome 1998)
  2. Re: many-to-one problem (Peter Ostry 1998)
  3. Re: many-to-one problem (PCS Technical Support 1998)
  4. Re: many-to-one problem (Kenneth Grome 1998)
  5. Re: many-to-one problem (Peter Ostry 1998)
  6. Re: many-to-one problem (Kenneth Grome 1998)
  7. Re: many-to-one problem (Peter Ostry 1998)
  8. Re: many-to-one problem (Kenneth Grome 1998)
  9. Re: many-to-one problem (Peter Ostry 1998)
  10. Re: many-to-one problem (Kenneth Grome 1998)
  11. many-to-one problem (Peter Ostry 1998)
Hi Peter,I'm glad my suggestion got you started. Writing a temp db and using summ=T to search that db is just what I would have done. Since your application of this technique is not particularly demanding as far as time or resources, writing a temp db is a good solution.>BTW - I discovered some strange behavior: >[appendfile somefile]sometext[/appendfile] >does not put a carriage return at the end of the line, I have to >write it like this: >[appendfile somefile]sometext >[/appendfile] Appendfile and writefile are *supposed* to work like this. if you want a carriage return after the sometext, you have to put it there ... :)Some people get the [append] context confused with [appendfile] -- and they perform very different functions.1- The [append] context writes field values to an existing WebCat database file -- in the proper WebCat Database format.2- The [appendfile] context appends EXACTLY what you type into the context -- nothing more and nothing less. Writefile does the same thing, it writes exactly what you enter into the [writefile] context.The only thing that gets changed inside an appendfile (or writefile or sendmail) context are the enclosed WebDNA tags, which are replaced *before* the text is appended. Everything else gets written exactly the way you type it. That's why careful formatting is very important when using appendfile, writefile and sendmail ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net 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:

dos performance (1998) webmerch and serials - almost there (1997) formula.db problems (1999) [ShowNext] feature in 2.0 (1997) Expert tech support -- a fast and simple solution (long) ... (2000) RE: Questions To Answer (1997) Emailer 2.1.1 delivers to bcc twice? (1998) Re[3]: Problem with new formvariables (2000) Help name our technology! I found it (1997) What file? (1997) problems with WebCat-Plugin (1997) Authenticate (1997) [isfolder] and [filename] (1997) Multiple serial numbers (1997) WebCat2: Items xx to xx shown, etc. (1997) Search inside Include (1998) range searching (1998) Accepting credit cards (1997) Grep question [parsing variables] problem (2003) Includeform Error (2002)