L
lafaer
Unregistered / Unconfirmed
GUEST, unregistred user!
我调试程序时出现:
Gneral SQL error
[Microsoft][ODBC MicroSoft Access 驱动程序]参数不足,期待是 1.if Query1.Active then
程序就是在这出错的.望能帮助.
Query1.Active:=False;
Query1.SQL.Clear;
Query1.SQL.Add('select DateDuty From OnDuty Where EmpId=StEmpId');
Query1.Active:=true;
If Not Query1.Eof then
begin
FrmQryd.Label1.Caption:='出勤次数:'+intTostr(Query1.RecordCount)+'次';
FrmQryd.ShowModal;
Gneral SQL error
[Microsoft][ODBC MicroSoft Access 驱动程序]参数不足,期待是 1.if Query1.Active then
程序就是在这出错的.望能帮助.
Query1.Active:=False;
Query1.SQL.Clear;
Query1.SQL.Add('select DateDuty From OnDuty Where EmpId=StEmpId');
Query1.Active:=true;
If Not Query1.Eof then
begin
FrmQryd.Label1.Caption:='出勤次数:'+intTostr(Query1.RecordCount)+'次';
FrmQryd.ShowModal;