We cannot get a blob field value due to the following error:
Code: Select all
Exception Class: "EReadError"
Exception Message: "Stream read error"
Code: Select all
Query.SQL.Text := 'select file_content from files where id=:1';
...
sContent := Field.AsString;
Please help us A.S.A.P. as we are being urged to upgrade...