Page 1 of 1

[ok] Error in dbexpida40.dll

Posted: Tue 14 Sep 2010 12:04
by sdm
hello,


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

Image

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.

Posted: Tue 14 Sep 2010 14:09
by sdm
do you need another informations to describe the problem ?

Posted: Tue 14 Sep 2010 19:30
by sdm
hello,

With this topic,
http://www.devart.com/forums/viewtopic. ... 6bd4fb6392
I found the solution :

I did a function to set the value of a blob-text-field-parameter

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;

}
thanks all

Posted: Wed 15 Sep 2010 05:44
by AndreyZ
It's good to see that this problem has been solved. If any other questions come up, please contact me.