如果在Sql里判断,可以用字段 is null或者字段 is not null 如果在Delphi里判断,可以用DataSet.FieldByName('字段').isnull
...SQL.ADD('select....');if adoquery_select.recoudcount<0 thenbeginshowmessage(' ... ')end;
在使用查询语句之后,判断一下adoquery.isempty就行了