Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

collecting data(string) and parshing results

Posted on 1998-07-08
2
Medium Priority
?
238 Views
Last Modified: 2010-04-16
I am currently working on a informix user interface and am having problems with the slected text.  I want to preparse the text before it goes to the results window (not showing the value "null" when there is no text.
0
Comment
Question by:spowers
2 Comments
 
LVL 5

Expert Comment

by:msmolyak
ID: 1225588
You mean, you want to analyze the results of a query before displaying them? What seems to be the problem? Are you using JDBC to interact with Informix? If, so you can iterate through the result set to see what's in it.
0
 
LVL 2

Accepted Solution

by:
threshold earned 100 total points
ID: 1225589
Take data from Database, check it, and display it... if you means that...

TextArea ta;
String data;
...
// get data from Informix via JDBC
......
// got data!
if (data==null) data="";
ta.setText(data);

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question