adoquery1.SQL.Clear;
adoquery1.SQL.Text:='select * from basicdata where hkcarnum='''+trim(upmsg[0])+'''';
adoquery1.Open;
if (ADOQuery1.RecordCount=0) or ADOQuery1.RecordCount is null then当查询时没有此数据ADOQuery1.RecordCount反回null应改怎么处理,我写在if ADOQuery1.RecordCount is null then 不对isnull(),也不对,要怎么做
adoquery1.SQL.Text:='select * from basicdata where hkcarnum='''+trim(upmsg[0])+'''';
adoquery1.Open;
if (ADOQuery1.RecordCount=0) or ADOQuery1.RecordCount is null then当查询时没有此数据ADOQuery1.RecordCount反回null应改怎么处理,我写在if ADOQuery1.RecordCount is null then 不对isnull(),也不对,要怎么做
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货