Oracle Objects for OLE
Release 8.1.7

Part Number A85257-01

Library

Product

Contents

Navigating Through Data

See Also
Quick Tour
Employee Form

A typical requirement for a database application is to allow the user to view data in the database. Our example employee form has the following four buttons that let the user scroll through data:

Button
Function
|<
Moves to the first record
<
Moves to the previous record.
>
Moves to the next record.
>|
Moves to the last record.

To navigate through the records of the employee database, we first create a global dynaset that selects all the records (rows). We then use one of the following dynaset move methods to code the navigation button:

Method
See...
DbMoveFirst
Moving to First and Last Rows
DbMovePrevious
Moving to the Previous Row
DbMoveNext
Moving to the Next Row
DbMoveLast
Moving to First and Last Rows


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents