× 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.



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
I'm really trying to understand java, and right now, all I have are 2
examples, that I found out on the net...
And I got them to compile and run, on the PC, using the 400 toolbox jar..

I was wondering if someone could hold my hand for a few minutes, and offer
me a great big push in the right direction...

Question #1.  I have this code, and I have modified it, so I could attempt
to qualify the field names...  But it didn't work... Could someone please
correct my error.

ERROR Message at runtime: An undefined column name was detected.

    ResultSet rs = stmt.executeQuery ("SELECT * FROM QIWS.QCUSTCDT A ORDER
BY LSTNAM");
        while (rs.next ()) {
                String cusnum = rs.getString("A.CUSNUM");

Question #2,  Could someone please show me how to take the result set that I
get, and instead of printing it in a dos window, how would I place the data
in a real window on my pc, in a datasheet type view (similar to excel, or
when I do an SQL through ops nav)...

I offer many thanks,  tim...



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.