Ver Mensaje Individual
  #4  
Antiguo 30-10-2019
shinopeat87 shinopeat87 is offline
Miembro
 
Registrado: oct 2018
Posts: 21
Reputación: 0
shinopeat87 Va por buen camino
gracias por responder amigos.

Casimiro Notevi como estas? te cuento que me da un error de sintaxis usando el containing

Código Delphi [-]
if Tedtfiltro.Text <>'' then
    begin
        with ModuloDatos.FDQuery1filtro do
          begin
           SQL.Clear;
           SQL.Add ('SELECT id_producto,codigo_producto,descripcion_producto,precio_costo_producto,precio_venta_producto,stock_p  roducto');
           SQL.Add ('FROM productos WHERE productos.descripcion_producto containing :BUSQUEDA ORDER BY productos.id_producto ');
           params.ParamByName('BUSQUEDA').AsString := Tedtfiltro.Text;
           Open();
          end;
    end;

en si los articulos que tengo son :

ANTIPARRAS VIRT
ANTIPARRAS VIRT2
ANTIPARRAS ROJAS
ANTIPARRAS ROJAS2

cuando escribo antiparras todo en orden pero cuando doy espacio se me borran ANTIPPARAS VIRT Y VIRT2
y si presiono la V .. ya no me aparece ningun registro
no se que estare haciendo mal...
Responder Con Cita