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 = 103353
interpreted = N
texte = --Boundary-00=_JTajKY6IY4ABj7DContent-Type: text/plain; charset="iso-8859-1"Content-Transfer-Encoding: 7bit> I have a perfectly normal and working [append] context> but it is not ending the record it appends with a newline> char.I've noticed the same thing and I'm using version 6.2 so version 6.1 is not the only place where this problem exists.> 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.Now that you mention it I remember from years ago that WebDNA never retrieves the last record in a db unless it is followed by a newline character.> Has anyone had any such experience? I haven't tested to see if I can retrieve the last record but I don't think I have to, you've already proven it.Sincerely,Ken Grome--Boundary-00=_JTajKY6IY4ABj7DContent-Type: text/html; charset="iso-8859-1"Content-Transfer-Encoding: 7bit
> I have a perfectly normal and working [append] context
> but it is not ending the record it appends with a newline
> char.
I've noticed the same thing and I'm using version 6.2 so version 6.1 is not the only place where this problem exists.
> 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.
Now that you mention it I remember from years ago that WebDNA never retrieves the last record in a db unless it is followed by a newline character.
> Has anyone had any such experience?
I haven't tested to see if I can retrieve the last record but I don't think I have to, you've already proven it.
Sincerely,
Ken Grome
--Boundary-00=_JTajKY6IY4ABj7D--
Associated Messages, from the most recent to the oldest:
--Boundary-00=_JTajKY6IY4ABj7DContent-Type: text/plain; charset="iso-8859-1"Content-Transfer-Encoding: 7bit> I have a perfectly normal and working
[append] context> but it is not ending the record it appends with a newline> char.I've noticed the same thing and I'm using version 6.2 so version 6.1 is not the only place where this problem exists.> 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.Now that you mention it I remember from years ago that WebDNA never retrieves the last record in a db unless it is followed by a newline character.> Has anyone had any such experience? I haven't tested to see if I can retrieve the last record but I don't think I have to, you've already proven it.Sincerely,Ken Grome--Boundary-00=_JTajKY6IY4ABj7DContent-Type: text/html; charset="iso-8859-1"Content-Transfer-Encoding: 7bit
> I have a perfectly normal and working
[append] context
> but it is not ending the record it appends with a newline
> char.
I've noticed the same thing and I'm using version 6.2 so version 6.1 is not the only place where this problem exists.
> 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.
Now that you mention it I remember from years ago that WebDNA never retrieves the last record in a db unless it is followed by a newline character.
> Has anyone had any such experience?
I haven't tested to see if I can retrieve the last record but I don't think I have to, you've already proven it.
Sincerely,
Ken Grome
--Boundary-00=_JTajKY6IY4ABj7D--
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:
No Access warning when caching HTML files (1997)
Alternating BGColors in Table Rows (1998)
problems with 2 tags shakur (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Quitting WebMerchant ? (1997)
-REPOST- WebCat 3 & Aliases (2000)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Location of Webcat site in folder hierarchy (1997)
[OT] CSS and SSI books (2004)
TCPsend with POST? (1999)
Scoping rules in WebDNA 4.0 (2000)
[WebDNA] [table] and COMMA in a Field (2015)
off topic - dna snipets (1997)
Database Security Rev., (2002)
UPPERCASE (1997)
ssh shutdown (2005)
Getting total number of items ordered (1997)
WebMerchant and good orders (1999)
Date search - yes or no (1997)
Error.html (1997)