I'm using Delphi XE7 with FireDAC to access SQLite.
When I put data into a TEXT field, any trailing spaces or #0 characters get truncated.
Is there something I can change in either SQLite or FireDAC to have it preserve the trailing white space?
// The trailing spaces after Command don't come back from SQLite.
fFireDACQuery.ParamByName(kSQLFieldScriptCommands).AsString := 'Command ';
FormatOptions.StrsTrim
property to False. – TLamaStrsTrim
property. There is a note saying "For SQLite, this property is applied to all string columns, including ftMemo, ftWideMemo, ftString, ftWideString, ftFixedChar, and ftFixedWideChar." which is just your case. – TLama