/ Published in: Visual Basic
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Private Sub Form_Current() Me!cmdUndo.Enabled = False End Sub Private Sub Form_Dirty(Cancel As Integer) Me!cmdUndo.Enabled = True End Sub Sub cmdUndo_Click() DoCmd.RunCommand acCmdUndo End Sub