TDBMemo-Error lazarus / 16-Databases ---------------------------------------------------------------------- Knoppers · 2005-11-23 08:42 Hi there, I use the SQLdb-Package to Access and the DataAccess components to display/edit data from a firebird 1.5 database. TDBLabel and TDBEdit are working well. TDBCheckBox does not really, but okay. So far so good. Then I places a TDBMemo on my form to access a text-blob field. It diplays the content but if I post any changes of this field my app raise an excpetion: "Acces violation". If I press ignore, the app is standing still/hang off. The debugger opens the file streams.inc which and marks the Code: [Select]   procedure TStream.WriteBuffer(const Buffer; Count: Longint);     begin        if Write(Buffer,Count) ).AsString;   Memo1.Tag := 0; end; procedure TForm1.SQLQuery1BeforePost(DataSet: TDataSet); begin   SQLQuery1.FieldByName( ).Value := Memo1.Lines.Text; end; procedure TForm1.Memo1Change(Sender: TObject); begin   if( Memo1.Tag=0 )then     if( SQLQuery1.State=dsBrowse )then       SQLQuery1.Edit; end; Make sure the Memo.Tag is not used otherwise. The switch of the tag value indicates if the dsEdit-Mode to be set when memo text is changing. Greets