Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-05

SqlDB and Text BLOB fields

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I'm using a Firebird database with a field define as 'Blob sub_type 1' to store text.

What method am I supposed to use to set the parameter value? ....
AValue: string;
....

FIBSQL.Params.ParamByName(AName).AsString := AValue;

or

FIBSQL.Params.ParamByName(AName).AsMemo := AValue;

What's the difference?

Graeme Geldenhuys General error, hit any user to continue.