N
netmax
Unregistered / Unconfirmed
GUEST, unregistred user!
要知道boolean字段“状态”的所有为False的总数,我用了
Select Count(状态) as tmp from ylwb Where 状态=True
再procedure TForm1.Button1Click(Sender: TObject);
var
tmp:integer;
begin
Form1.Query1.Open;
showmessage(inttostr(tmp));
end;
怎么不对呢?
Select Count(状态) as tmp from ylwb Where 状态=True
再procedure TForm1.Button1Click(Sender: TObject);
var
tmp:integer;
begin
Form1.Query1.Open;
showmessage(inttostr(tmp));
end;
怎么不对呢?