juanpe
06-03-2007, 12:38:19
Buenos dias, tengo el siguiente problema.
Quiero seleccionar todos los registros de una tabla donde el campo blob contiene un string determinado.
Algo asi:
IBQuery1.SQL.Clear;
ibquery1.SQL.Add('select estudio,comentario from angiolesiones where comentario is not null and comentario = :texto');
ibquery1.ParamByName('texto').AsBlob := Trim(Edit1.text);
ibquery1.Open;
Ibquery1.Last;
ibquery1.First;
'Feature is not suported BLOB and array data types are not supported for compare operation' :(
Con .AsString (ibquery1.ParamByName('texto').AsString) tampoco funciona, devuelve el mismo error.
¿Existe alguna manera de poder hacer algo asi?
Muchas gracias por vuestro tiempo y ayuda.
Quiero seleccionar todos los registros de una tabla donde el campo blob contiene un string determinado.
Algo asi:
IBQuery1.SQL.Clear;
ibquery1.SQL.Add('select estudio,comentario from angiolesiones where comentario is not null and comentario = :texto');
ibquery1.ParamByName('texto').AsBlob := Trim(Edit1.text);
ibquery1.Open;
Ibquery1.Last;
ibquery1.First;
'Feature is not suported BLOB and array data types are not supported for compare operation' :(
Con .AsString (ibquery1.ParamByName('texto').AsString) tampoco funciona, devuelve el mismo error.
¿Existe alguna manera de poder hacer algo asi?
Muchas gracias por vuestro tiempo y ayuda.