[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Database data won't fill up my JComboBox  XML
Forum Index » GUI Development
Author Message
Subhero

Newbie

Joined: 05/12/2010 14:14:34
Messages: 1
Offline

I know this might seem like a simple query problem [and it probably is but not for me ].

The problem is the following that using the DISTINCT method in the query does not remove the double data. I tried using DISTINCT only on gemeente, but then the data does not show up in my ComboBox.

The point is is that I remove the double data from the gemeente column, which contains a bunch of towns and their postal codes. Then I need to list those towns in a ComboBox but applying DISTINCT to gemeente only works as a query in SQL, but then I do not see the data in my combobox.



StudentFrame that loads the data into the combobox

 
Forum Index » GUI Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle