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:
did I miss anything (1997)
the dreaded unitShipCost (2003)
Text data with spaces in them... (1997)
[WebDNA] [showif] problem (2009)
WC2.0 Memory Requirements (1997)
NT version and O'reily's WebSite (1997)
Appending with +1 ... (1997)
Notepad problems (1998)
won't serve .tpl (2000)
UPDATE PROBLEM (1997)
Passing Variables.. yikes, I'm dumb (2000)
default value from Lookup (was Grant, please help me) (1997)
Protect vs Authenicate (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Calendar using WebCatalog? (1997)
Protect (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Can't use old cart file (was One more try) (1997)
The [shownext] limitations (2002)
Quitting WebMerchant ? (1997)