<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div>Hi, using SQLite3, the latest version of Lazarus 2.0.8 and I assume FPC.<br></div><div><br></div><div>This <br></div><div><div>sqlMain.FieldByName('name').AsString;<br></div><div><div>and this<br></div><div>sqlMain.FieldByName('name').AsWideString;<br></div><div><br></div><div>BOTH return 255 Bytes. I have a TEXT Field in the database 1776 Bytes long. The data looks OK in SQBrowser, but FPC/Lazarus brings in only 255 Bytes. Yes I have the fpcobj and $H+ set.<br></div><div><br></div><div>I posted here but so far not getting anywhere.<br></div><div><a href="https://forum.lazarus.freepascal.org/index.php/topic,49721.0.html">https://forum.lazarus.freepascal.org/index.php/topic,49721.0.html</a><br></div><div><br></div><div>The 1776 Bytes of data is being saved (.ExecSQL) to the file OK, but on read back I only get that 255.<br></div><div><br></div><div>How can I make this work please?<br></div><div><br></div></div><div><div><br></div></div></div><div><br></div> </body>
</html>