Solved

collecting data(string) and parshing results

Posted on 1998-07-08
2
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 50 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

Technology Partners: 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ā€¦
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.
Suggested Courses

738 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