Oracle Objects for OLE Release 9.2 Part Number A95895-01 |
|
The SetAfterCommitFlags() subroutine is called at the end of the commit event procedure. SetAfterCommitFlags() re-enables disabled buttons and textboxes and sets the DoUpdate and DoAdd flags to false.
Sub SetAfterCommitFlags()
'disable commit and re-enable add and update buttons
Commit.Enabled = False
AddNew.Enabled = True
cmdUpdate.Enabled = True
'enable the other buttons
cmdFirst.Enabled = True
cmdPrevious.Enabled = True
cmdNext.Enabled = True
cmdLast.Enabled = True
cmdFind.Enabled = True
cmdUpdate.Enabled = True
AddNew.Enabled = True
DoUpdate = False
DoAdd = False
txtEmpno.Enabled = True
End Sub
|
Copyright © 1994, 2002 Oracle Corporation. All Rights Reserved. |
|