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:
a new bug? (1999)
WebDelivery downloads alias, not original ? (1997)
blank page from template (1997)
Hide Ifs (2000)
Quitting WebMerchant ? (1997)
Emailer (1997)
[no_cache]?! (2000)
RE: Formulas.db + Users.db (1997)
Error Messages Returned to User (1997)
Stumped (1999)
Shopping carts and reloading pages (1997)
HELP WITH DATES (1997)
Database formats (2003)
Help with Repost Data msg from form (1997)
[URL] and [showif] or [hideif] comparisons (2003)
Shipping charges depending on tax rate? (1997)
Calendar Snippet Problems (1998)
Serving images from databases (1998)
shownext (1997)
WebDNA 6.0a for Apache 2.2.4 (2007)