Solved

collecting data(string) and parshing results

Posted on 1998-07-08
2
227 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This video teaches viewers about errors in exception handling.
Suggested Courses

628 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