Z zhouwenlin_1 Unregistered / Unconfirmed GUEST, unregistred user! 2008-07-31 #1 DBNavigator1控件有删除和修改的两个按钮,但我想在删除DBGRID上的数据时加个判断,如判但数据数否被审核,如审核就不删除,因该怎么做啊???
Z znxia Unregistered / Unconfirmed GUEST, unregistred user! 2008-08-13 #2 procedure TForm1.DBNavigator1Click(Sender: TObject; Button: TNavigateBtn); begin if (Button=nbDelete) and (Not Audit) then Abort; end;
procedure TForm1.DBNavigator1Click(Sender: TObject; Button: TNavigateBtn); begin if (Button=nbDelete) and (Not Audit) then Abort; end;