View Single Post
Old 10-26-2005, 01:08 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,139
Belisarius is on a distinguished road
You probably want "next()" rather than "movefirst()" (which, incidently, doesn't exist and is misspelled at any rate).

By calling "next()", you'll move the cursor to the first row of the ResultSet, and be able to access it's values. Any subsequent calls of "next()" will move the cursor down one until it hits the end, at which point it'll return "false".
__________________
GitS
Belisarius is offline   Reply With Quote