I create in firebird a text blob field:
BLOB SUB_TYPE 1 SEGMENT SIZE 80 CHARACTER SET NONE
COLLATE NONE
and I wanna read it into n lines of 25character per line.
how I can do it?
howto manage a memo field
Moderators: gto, EgonHugeist
howto manage a memo field
Codebue Fabio
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
Use the createblobfield function.
var
aBlob : TBlobField;
begin
aBlob := TBlobField.Create(Field,Mode);
aBlob.Write();
aBlob.Read();
end;
But the best is to create a function to read and other to write and the parameter is (aBlob:TBlobField;var Value:string) : Boolean;
This could help you a bit.
var
aBlob : TBlobField;
begin
aBlob := TBlobField.Create(Field,Mode);
aBlob.Write();
aBlob.Read();
end;
But the best is to create a function to read and other to write and the parameter is (aBlob:TBlobField;var Value:string) : Boolean;
This could help you a bit.
where's the code ..