Using DataDirect Test™ : DataDirect Test™ Tutorial : Scrolling Through a Result Set

Scrolling Through a Result Set
1.
From the Connection window menu, select Connection / Create JDBC 2.0 Statement. DataDirect Test prompts for a result set type and concurrency.
2.
a.
b.
c.
Click Submit; then, click Close.
Get JDBC 2.0 Statement Properties dialog box with specified values
3.
Select Statement / Execute Stmt Query.
4.
Type a Select statement and click Submit. Then, click Close.
Execute SQL Query window
5.
Select Results / Scroll Results. The Scroll Result Set window indicates that the cursor is positioned before the first row.
Scroll Result Set dialog box indicating that the cursor is positioned before the first row
6.
Click the Absolute, Relative, Before, First, Prev, Next, Last, and After buttons as appropriate to navigate through the result set. After each action, the Scroll Result Set window displays the data at the current position of the cursor.
Scroll Result Set dialog box displaying the data at the current position of the cursor
7.
Click Close.

© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.