Page 1 of 1

Error with big text fields

Posted: Thu 21 Feb 2008 08:27
by progman
I used TUniQuery with SQL like this 'select * from TABLE_XXX where FIELD_XXX=:PARAM_XXX'. FIELD_XXX is VARCHAR(4000). After ParamByName('PARAM_XXX').AsString:='....' I get error.
I checked it on FB and Oracle.

Posted: Thu 21 Feb 2008 11:46
by Plash
We could not reproduce the problem. Please provide your full code where you get the error. Specify whether the error is raised on assigning a value to AsString property or on the next line, and specify the error message.

Posted: Wed 27 Feb 2008 11:52
by progman
Magic, I don't know why but now it works :)
Sorry, maybe it was problem with my IDE.