title: Save image to record
body: <p>I'm storing some information to my Access database, one parameter is a BLOB field, in this case an image, loaded into a Timage.</p>
  
  <p>I'm using this code to save it: </p>
  
  <pre><code>var
  AStream : TMemoryStream;
  begin
  AStream := TMemoryStream.Create;
    try
  Image1.Picture.Graphic.SaveToStream(AStream);
  AStream.Position := 0;
  if Adotable1.Active then
  begin
    Adotable1.Edit;
    TBlobField(Adotable1.FieldByName('Termograma')).LoadFromStream(AStream);
    Adotable1.Post;
  end;
    finally
      AStream.Free;
  
  adotable1.Append;
  adotable1['Data']:= datetimepicker1.Date;
  adotable1['Temax']:= edit4.Text;
  adotable1['Temin']:= edit5.Text;
  adotable1['Descrição da Posição']:= memo1.Text;
  adotable1['Comentários']:= memo2.Text;
  adotable1.Post;
  </code></pre>
  
  <p>But I also have other information I'm storing by clicking in the same button like the "append" part. </p>
  
  <p>What happens is that when I press the save button, this information does not get stored in the same ID on the database.</p>
  
  <p>How do I correct this problem?</p>