|
hi, i tried the same myself. couldn't get any TEXT or COLHDG from a database field either and also posted the same question. i'm using jtopen 2.04. i got the answer, that with the methods getTEXT() and getCOLHDG() you can only get the TEXT and COLHDG you previously set and no values from the system. now i'm trying to get them with system apis and PCML. but as i'm quite new to the PCML and system apis stuff, i got some problems. so i think you got no luck with that. cu mk -----Original Message----- From: Geert Van Landeghem [SMTP:gvl@reynderseti.be] Sent: Thursday, November 08, 2001 3:26 PM To: 'java400-l@midrange.com' Subject: How to retrieve TEXT/COLHDG of a database field using the toolbox ? Hello all, Does anybody know how to retrieve the TEXT or COLHDG of a database field? I'm using the SequentialFile, RecordFormat, FielDescription and AS400DataType classes to retrieve all the information needed about database fields of a given file. Unfortunately the getText() method of FieldDescription does not return the TEXT value defined in the DDS on the system. The database fields are all defined using reference fields. I'm not using the open version of the toolbox. Could this make any difference? Is there another way to retrieve this info using java? (not system api's) Geert Van Landeghem Reynders Etiketten N.V * +32-(0)3/460.32.81 * +32-(0)3/455.18.83 M +32-0477/75.95.33 * gvl@reynderseti.be _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
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.