Re: [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 = 103352
interpreted = N
texte = Sure, and it does, at least for numerous db i worked with during the last 10 years :-)It must be related to your specific case, otherwise, we would all be in trouble. You wrote "BUT the new record does NOT have a newline char at the end... UNTIL / UNLESS I [append] another record."It is of my knowledge that if there is no CR at the end on the last record of a db, there is no way to append anything at all. So if you can append another record, it would mean the CR is there. Maybe is it a LF?Anyway, there must be a rational explanation.- chrisOn Aug 20, 2009, at 15:29, John Butler wrote:>>> I'm not aware of any append bugs. I use them all the time, so not >> sure what to tell you. I would suggest to make sure the .db is >> solid with all>> the usuals, check for non-ASCII and control chars (zap gremlins in >> bbedit) and make sure the ending carriage return is there.>> Let's start with this:> (my sincere Q's)>> Is every record in a webdna native db supposed to end with a newline > char?>> If so, isn't it reasonable to assume webdna should write one at the > end of any record it [append]s?> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288
Associated Messages, from the most recent to the oldest:
Sure, and it does, at least for numerous db i worked with during the last 10 years :-)It must be related to your specific case, otherwise, we would all be in trouble. You wrote "BUT the new record does NOT have a newline char at the end... UNTIL / UNLESS I [append] another record."It is of my knowledge that if there is no CR at the end on the last record of a db, there is no way to append anything at all. So if you can append another record, it would mean the CR is there. Maybe is it a LF?Anyway, there must be a rational explanation.- chrisOn Aug 20, 2009, at 15:29, John Butler wrote:>>> I'm not aware of any append bugs. I use them all the time, so not >> sure what to tell you. I would suggest to make sure the .db is >> solid with all>> the usuals, check for non-ASCII and control chars (zap gremlins in >> bbedit) and make sure the ending carriage return is there.>> Let's start with this:> (my sincere Q's)>> Is every record in a webdna native db supposed to end with a newline > char?>> If so, isn't it reasonable to assume webdna should write one at the > end of any record it [append]s?> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288
christophe.billiottet@webdna.us
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:
Credit Card not accepted (1998)
[WebDNA] TLS 1.2 and [tcpconnect] (2018)
service stop and restart (1997)
Emailer choke (1997)
[Sum] function? (1997)
Web Catalog 2 demo (1997)
ListFields and [name] (1997)
New syntax feedback for 4.0 (2000)
Frames and WebCat (1997)
strange [date] behavior (2001)
[WebDNA] [PROTECT] - Log Out (2011)
Banners (1997)
Multiple fields on 1 input (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
Running 2 two WebCatalog.acgi's (1996)
Mystery authentication (1997)
Hiding a subsection of text (2002)
[WriteFile] problems (1997)
Loop code problem (2000)
syntax question, not in online refernce (1997)