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(),也不对,要怎么做