肯定是别的代码影响。代码试试这样写
SystemReady = FalseWith CurrentTable If .Current IsNot Nothing Then .Current.Reject() End IfEnd WithTables("员工表").AllowEdit=FalseForms("员工维护").Close()SystemReady = true
这个我还没试,我试一下