Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
See Also |
Quick Tour |
Employee Form |
Private Sub AddNew_Click()
'Blank out the fields
txtEmpno = ""
txtEname = ""
txtJob = ""
txtMgr = ""
txtHireDate = ""
txtSal = ""
txtComm = ""
txtDeptno = ""
'Disable the Add button and enable the commit button
AddNew.Enabled = False
Commit.Enabled = True
End Sub
When AddNew_Click() exits, control returns to the Employee form where the user enters field values in the text boxes.