[WebDNA] [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 = 103340
interpreted = N
texte = Version=6.1PLATFORM=unix-Linux Intel RedHatI 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:
Version=6.1PLATFORM=unix-Linux Intel RedHatI 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:
WebCat2 - Getting to the browser's username/password data (1997)
off topic - dna snipets (1997)
[/application] error? (1997)
Gremlins, huh? (2000)
[CART] (1997)
[ShowNext] (1997)
One more time (1997)
requiring form fields? (2000)
WebCatalog 2.0 b 15 mac (1997)
Forcing a NEWCART (1997)
[Webcat 2]Next (1997)
"top" Clarification ( for apache ) (2008)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
RE: Purchased cart being overwritten (1997)
Multiple Form Fields (2000)
[WebDNA] What am I doing wrong with authenticate (2012)
Date search - yes or no (1997)
Price Change (1999)
PIXO Support (1997)
RE: Credit Card Checksum (1997)