Oracle Objects for OLE
Release 9.2

Part Number A95895-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

SetAfterCommitFlags() Subroutine

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


 
Oracle
Copyright © 1994, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback