[solved] a STRING problem lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- cpalx · 2010-01-19 14:44 Hello i have this: var sSQL:string; begin //CodTrabajador it is a variable with, for example, 34 of data sSQL:='select trabnombre as nombre,trtdnombre as categoria,cast(tr.trabid||''.''||td.trtdid as varchar)as codbarra,clasnombre'+           ' from sttrabajador tr,STtrab_TipoDescuento td,STtrab_descuentos de,stclase cl'+           ' where de.clascodigo=cl.clascodigo and de.trtdid=td.trtdid and tr.trabid=td.trabid'+           ' and tr.trabid='+CodTrabajador+' and trtdnombre='+DM.Comillas(cboGruposProductos.Text)+';'; but when i see it it show me just 255 characters ... it cuts the rest dose it not suposse to have "infinity" lenght? i use Lazarus 0.9.29 (2009-12-26) in windows XP with FPC 2.2.4 any ideas plz??? ---------------------------------------------------------------------- theo · 2010-01-19 14:45 Quote from: cpalx on January 19, 2010, 03:44:08 pmany ideas plz??? {$H+} ---------------------------------------------------------------------- cpalx · 2010-01-19 15:18 Thank you very much, it solved the problem