Results 1 to 4 of 4

Thread: first()

  1. #1
    Join Date
    Dec 2003
    Posts
    6

    Unanswered: first()

    Hi all

    I'm trying to do some calculations using java......when I execute my query and want to ensure that I am at the first row I'm using ResultSet.first()...but that gives me an "Unsupported method"-error.

    I've tried ResultSet.absolute(1) as well - with the same result unfortunately

    Does anybody know what I'm doing wrong ??

    Thanks

    Kim

  2. #2
    Join Date
    Feb 2002
    Posts
    2,232
    Did you make your resultset scrollable ?

  3. #3
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    That looks more like vb than java...

    http://java.sun.com/docs/books/tutorial/index.html
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  4. #4
    Join Date
    Feb 2002
    Posts
    2,232
    Nope - its java.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •