I use these units sqldb, sqlite3conn.
The DB table has been created with
Query.SQL.Text := 'CREATE TABLE Data (ID int, Key text,Value text, PRIMARY KEY (ID,Key));';
I can view the DB file with DBBrowser for SQLite (a great program BTW) and see that the fields in question are about 1,500 characters long.The following reads the correct fields from the table BUT truncates the data.
Query.SQL.Text := 'SELECT * FROM Data Where Key="ScoreTable"';
s :=Query.FieldByName('Value').AsString; // only 255 characters in s ??
I can provide sample program and DB file that illustrate the problem. TIA for your help