× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



oh, gotchya...I put in the call to rs.next() like this and am having 
better luck with it...

if (rs.next() == true)
   wcnonw = rs.getString(1);
else
   System.out.println("not found");

Shane Cessna  
iSeries Programmer
iSeries WAS Administrator
North American Lighting, Inc.
(618) 662-4483 x2776
shane_cessna@xxxxxxx 



"Clapham, Paul" <pclapham@xxxxxxxxxxxxx> 
Sent by: java400-l-bounces@xxxxxxxxxxxx
06/16/2005 11:29 AM
Please respond to
Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>


To
"Java Programming on and around the iSeries / AS400" 
<java400-l@xxxxxxxxxxxx>
cc

Subject
RE: JDBC question...






My guess: you just inserted a call to rs.next(), and since the result set 
has zero records, you are still not pointing to any record when you call 
getString.

PC2 

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx 
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Shane_Cessna@xxxxxxx
Sent: June 16, 2005 09:19
To: Java Programming on and around the iSeries / AS400
Subject: RE: JDBC question...

Paul,

sorry, that didn't work...I'm still gettin the same error...


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.