Oracle Objects for OLE Release 9.2 Part Number A95895-01 |
|
See Also |
Quick Tour |
Employee Form |
The delete click event procedure looks like:
Private Sub cmdDelete_Click()
'prompt user
Response = MsgBox("Do you really want to Delete?", vbYesNo + vbExclamation)
If Response = vbYes Then
EmpDynaset.Delete
'attempt to move to next record
EmpDynaset.MoveNext
If EmpDynaset.EOF Then 'If deleted last record
EmpDynaset.MovePrevious
End If
Call EmpRefresh
End If
End Sub
|
Copyright © 1994, 2002 Oracle Corporation. All Rights Reserved. |
|