Subject Re: [Firebird-Java] Scrollable Cursor Position
Author Rick Fincher
Hi Rb,

If you have a ResultSet named rs use:

rs.next()

This will step through each row in the ResultSet. Process each row as you
come to it using the various ResultSet methods.

rs.next() returns a boolean to tell you if you have a valid ResultSet. Also
you must do an initial next() to get the first row.

This is typically in a loop such as:

while (rs.next()) {
rs.getString("LAST_NAME");
}


Rick

----- Original Message -----
From: "rbsandman2003" <rbsandman2003@...>
To: <Firebird-Java@yahoogroups.com>
Sent: Thursday, October 16, 2003 10:23 AM
Subject: [Firebird-Java] Scrollable Cursor Position


> Can anyone tell me how to navigate through a recordset on the client
> or server side? If cursor positions aren't available could you tell
> me how to resolve this issue?
>
> Thanks in Advance
> Rb