Ver Mensaje Individual
  #6  
Antiguo 24-04-2013
jonydread jonydread is offline
Miembro
NULL
 
Registrado: nov 2011
Posts: 157
Reputación: 13
jonydread Va por buen camino
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??
Responder Con Cita