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 Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
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 Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://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:
Sku numbers (1997)
[carts] and databases (1997)
[SMSI] WebDNA is too good to go away! (2006)
RED QUESTION MARKS AGAIN (1999)
Closing Databases (1998)
emailer setup (1997)
Configuring E-mail (1997)
Preventing code execution (2003)
Test (2002)
Formvariable (2000)
Success Stories (1997)
Browser Info.txt (1997)
Re1000001: Setting up shop (1997)
Extended [ConvertChars] (1997)
Country & Ship-to address & other fields ? (1997)
RE: LookUp Tag (1997)
Re:2nd WebCatalog2 Feature Request (1996)
[WebDNA] off topic POSTFIX (2020)
[Replace] (2000)
searchable list archive (1997)