Código Delphi [-] adoquery.SQL.Add ('Select * from envases where Tipo_envase:='+edcodenvase.text); adoquery.execSQL if adoquey.ifempty then // no existe else ADOQuery1.RecordCount // para saber cuantos hay
adoquery.SQL.Add ('Select * from envases where Tipo_envase:='+edcodenvase.text); adoquery.execSQL if adoquey.ifempty then // no existe else ADOQuery1.RecordCount // para saber cuantos hay