Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Navigating Through Data

See Also
Quick Tour
Employee Form
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