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

Moving to First and Last Rows

See Also
Quick Tour
Employee Form

To move to the first row of a dyanset, we use the DbMoveFirst method. We then call EmpRefresh() routine to refresh the data in the 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


 
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