Just in case anyone else encounters a similar headache - SQLite will not add text containing an apostrophe (').
After encountering a problem where seemingly for random reasons text was not being stored by SQLite by (a lot) of trial and error I discovered that it text containing an apostrophe that was causing the problem!
(this link provided the answer: https://stackoverflow.com/questions/191 ... ngle-quote).
It seems that it is easily solved by 'doubling up' the apostrophe - which is easy in LC:
Code: Select all
replace "'" with "''" in fld"fQuestion"