[WebDNA] Re: [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.)
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103341
interpreted = N
texte = P.S. I tested.. and this phenom. is happening in a square-bracket include which is included from a square-bracket parent, and also from a wysiwyg parent.. so wysiwyg syntax-involvement is not the issue this time.> Version=6.1> PLATFORM=unix-Linux Intel RedHat>> I have a problem that is forcing me to think of creative workarounds > for today's code, but more than that is disturbing in general:>> I have a perfectly normal and working [append] context.. but it is > not ending the record it appends with a newline char. I've seen > that before, but just decided to myself that it must be OK (even > though a faint voice said it was not supposed to be that way). > Once I append another record, then the previous record does get it's > delimiting newline char.>> Well now I am doing a *simple* search on this db, and it finds any > specific one record I tell it to find, UNLESS I am trying to find > that last record with no newline char at the end. If I manually add > the newline char at the end, then the search works as expected.>> Has anyone had any such experience? Suggestions?>------------John Butler (Govinda)govinda.webdnatalk@gmail.com
Associated Messages, from the most recent to the oldest:
P.S. I tested.. and this phenom. is happening in a square-bracket include which is included from a square-bracket parent, and also from a wysiwyg parent.. so wysiwyg syntax-involvement is not the issue this time.> Version=6.1> PLATFORM=unix-Linux Intel RedHat>> I have a problem that is forcing me to think of creative workarounds > for today's code, but more than that is disturbing in general:>> I have a perfectly normal and working
[append] context.. but it is > not ending the record it appends with a newline char. I've seen > that before, but just decided to myself that it must be OK (even > though a faint voice said it was not supposed to be that way). > Once I append another record, then the previous record does get it's > delimiting newline char.>> Well now I am doing a *simple* search on this db, and it finds any > specific one record I tell it to find, UNLESS I am trying to find > that last record with no newline char at the end. If I manually add > the newline char at the end, then the search works as expected.>> Has anyone had any such experience? Suggestions?>------------John Butler (Govinda)govinda.webdnatalk@gmail.com
John Butler
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:
Re:Emailer and encryption (1997)
pc (1997)
Banners (1997)
Protect tag for large groups? (1999)
WebCat2: Items xx to xx shown, etc. (1997)
Blowback and budgets. (2000)
WebCatalog can't find database (1997)
using showpage and showcart commands (1996)
IE, Layers, and Select (2002)
Sending order notification by fax (1999)
Quitting WebMerchant ? (1997)
syntax question, not in online refernce (1997)
PayFlow Pro - Changing the Amount that was Authorized (2003)
[SearchString] problem with [search] context (1997)
File commands and Wild Cards ?? (1998)
OFF TOPIC - sendmail problem (2003)
New Plug-in and Type 11 errors (1997)
pay processing (2001)
Searching for words equal to A or equal to B (1999)
setlineiems and UnitShip Cost (2000)