G
gmwing
Unregistered / Unconfirmed
GUEST, unregistred user!
with ADOQuery1 do
begin
close;
sql.clear;
sql.add('select * form bm' where 条件);
open;
end;
if ADOQuery1.recordcount=0 then
showmessage(‘没有合符条件的记录存在!’)
else
showmessage(‘合符条件的记录有:’+inttostr(ADOQuery1.recordcount)+'条');
begin
close;
sql.clear;
sql.add('select * form bm' where 条件);
open;
end;
if ADOQuery1.recordcount=0 then
showmessage(‘没有合符条件的记录存在!’)
else
showmessage(‘合符条件的记录有:’+inttostr(ADOQuery1.recordcount)+'条');