<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Estoy tratando de filtar un SQLQuery incluyendo un 
campo Decimal de Firebird 2.5 y Lazarus me devuelve el siguiente 
error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2><FONT 
size=2>
<DIV>Field "Haber" has an invalid field type (BCD) to base index on.</DIV>
<DIV> </DIV>
<DIV>Si quito dicho campo no se produce el error.</DIV>
<DIV> </DIV>
<DIV>Como podré filtrar el SQLQuery con dichos tipos de campos 
"Decimales"?</DIV>
<DIV>Esto es un error de Lazarus o del FPC?</DIV>
<DIV>Es posible solventarlo de alguna forma?</DIV>
<DIV> </DIV>
<DIV>dm.rssc5.Filter:='((cuenta = ' +  
dm.rssc1.FieldByName('cuenta').AsString + ') and (subcta = ''' +  
dm.rssc1.FieldByName('subcta').AsString + ''') and (capitulo = ''' +  
dm.rssc1.FieldByName('capitulo').AsString + ''') and (subcap = ''' +  
dm.rssc1.FieldByName('subcap').AsString + ''') and (elemento = '''') and 
(empresa = ''' + stremp + ''') and (haber > 0))'<BR></DIV>
<DIV>Desde ya Gracias</DIV>
<DIV></FONT></FONT><FONT size=2>========<BR>| ISMAEL 
|<BR>========</FONT></DIV></BODY></HTML>