With CodeGear C++ 2009, and with DbxIda250,
ifi execute a Select Query, i've got a such message :

It appears if there is a special character (é , à, è, ....) in a Blob-text field (in the query). With Firebird 2.1.3.18185.
Thank you for your advices.
Code: Select all
void SetFieldByName_BlobText(TSQLQuery * Req, AnsiString NomChamp, AnsiString val)
{
/// Req->ParamByName(NomChamp)->AsMemo = val; // failed ! :-/
Req->ParamByName(NomChamp)->DataType = ftWideMemo;
Req->ParamByName(NomChamp)->ParamType = ptInput;
Req->ParamByName(NomChamp)->Value = val;
}