In order to ensure a "clean" import I've removed return characters (line feeds) from my database text entries by replacing them with an unused character. I'm now trying to put them back. The line
OurCursor = G.SQL1.ExecQuery("Update DEntries set Entry = replace(Entry, '}', char(10)) where Entry like '%}%'")
compiles, but gives SQLiteException
no such function: char (code1)
at run time.
Changing the replace string to '\10' or '\\10' will run, but this just inserts those literal characters - that is, text punctuated by \10 like this\10, not the line feeds that I want. ("Entry" is a field of type Text in my SQLite database.)
Can this be done, or will SQLite not accept these characters within text fields?
Thanks for any help.
OurCursor = G.SQL1.ExecQuery("Update DEntries set Entry = replace(Entry, '}', char(10)) where Entry like '%}%'")
compiles, but gives SQLiteException
no such function: char (code1)
at run time.
Changing the replace string to '\10' or '\\10' will run, but this just inserts those literal characters - that is, text punctuated by \10 like this\10, not the line feeds that I want. ("Entry" is a field of type Text in my SQLite database.)
Can this be done, or will SQLite not accept these characters within text fields?
Thanks for any help.