I will load an picture in a blobfield from my ZTable. We are using SQLite3...
This is my code, but it don't work! I've a lot of errors...
Code: Select all
procedure TMainForm.Button1Click(Sender: TObject);
begin
if OpenPictureDialog.Execute then
BLOBDS.Edit;
TBlobField(BLOBDS.DataSet.FieldByName('Plaatje')).LoadFromFile(OpenPictureDialog.FileName);
BLOBDS.DataSet.Post;
end;
grtz Antoine