|
: SELECT COUNT(*) FROM MYTABLE
저도 AVAL 은 모름...
저는 이렇게 사용합니다
데이타 엑세스에 보시면 Query컴포넌트가 있는데
저는 이것을 사용합니다.
SQLstr = "SELECT count(*) AS countMyTable FROM MYTABLE";
Qtemp->Close();
Qtemp->SQL->Clear();
Qtemp->SQL->Add(SQLstr);
Qtemp->Open();
temp = Qtemp->FieldByName("countMyTable")->AsInteger;
Qtemp->Close();
Label1->Caption = IntToStr(temp);
|