|
Porque no mejor usas la funcion Format
const
FILTRO = '(TicketID) LIKE "*%d*") OR (Usuario) LIKE ("*%s*")';
var
sCad:string;
if edtBuscar.Text<> '' then
begin
with ADOTableTicket do
begin
Close;
Filtered:= False;
sCad := Format(FILTRO, [Tiq, usu]);
Filter:= sCad;
Filtered:= True;
Open;
end
end
__________________
OEsqueda
|