X
xoenice
Unregistered / Unconfirmed
GUEST, unregistred user!
这是我的源代码:
Query1.Active:=false;
Query1.SQL.Clear;
Query1.SQL.Add('select * from Tb_JKinfo where JK_ID=12');
Query1.Prepare;
Query1.Open;
i:= Query1.RecordCount;
showmessage(inttostr(i));
返回值始终是-1;
在对应的DBGrid中显示有记录。
Query1.Active:=false;
Query1.SQL.Clear;
Query1.SQL.Add('select * from Tb_JKinfo where JK_ID=12');
Query1.Prepare;
Query1.Open;
i:= Query1.RecordCount;
showmessage(inttostr(i));
返回值始终是-1;
在对应的DBGrid中显示有记录。