Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
See Also |
Quick Tour |
Employee Form |
In our employee example, the First click event procedure looks like:
Private Sub cmdFirst_Click()
EmpDynaset.MoveFirst
Call EmpRefresh
End Sub
To move to the last row, we use the DbMoveLast method. We then call EmpRefresh() routine to refresh the data in the Employee form.
In our employee example, the Last click event procedure looks like:
Private Sub cmdLast_Click()
EmpDynaset.MoveLast
Call EmpRefresh
End Sub