amigos aun no lo logro trato asi
Código Delphi
[-]procedure TForm1.BitBtn2Click(Sender: TObject);
begin
zquery1.SQL.Text := 'SELECT * FROM Datos';
zquery1.Open;
while not zquery1.Eof do
begin
Zquery1.sql.text := 'delete from Datos WHERE tipo = :tipo';
zQuery1.fieldbyname('tipo').AsString := listview1.Selected.SubItems[2];
ZQuery1.ExecSQL;
zQuery1.SQL.Clear;
end;
end;
me dice Zquery1: Field 'tipo' not found
alguna idea??