Click here to Skip to main content
12,635,132 members (25,102 online)
   

Java

 
Questionwhile signing the same data multiple times does signature vary? Pin
syam0716-Dec-12 20:28
membersyam0716-Dec-12 20:28 
AnswerRe: while signing the same data multiple times does signature vary? Pin
Richard MacCutchan6-Dec-12 23:31
mvpRichard MacCutchan6-Dec-12 23:31 
QuestionlookupMultiDocPrintServices and Win32 Pin
J-Cop6-Dec-12 4:11
memberJ-Cop6-Dec-12 4:11 
QuestionJCOMBOBOX Pin
Chrisloys4-Dec-12 3:40
memberChrisloys4-Dec-12 3:40 
AnswerRe: JCOMBOBOX Pin
Richard MacCutchan4-Dec-12 5:52
mvpRichard MacCutchan4-Dec-12 5:52 
GeneralRe: JCOMBOBOX Pin
Chrisloys4-Dec-12 6:36
memberChrisloys4-Dec-12 6:36 
GeneralRe: JCOMBOBOX Pin
Richard MacCutchan4-Dec-12 6:58
mvpRichard MacCutchan4-Dec-12 6:58 
GeneralRe: JCOMBOBOX Pin
Chrisloys4-Dec-12 7:04
memberChrisloys4-Dec-12 7:04 
No the numbers are not random per say they are developed by mysql as they are autonumber/primarykey. So if we had two customers with same name they would have two differnt ids. I need to reference this id from the combobox to correctly populate the table.

So my table will look like this
id customername address city
1 customer1 123 this st atown
3 customer2 5 that st btown
4 customer 3 989 overhere st ctown
2 customer 4 9999 overthere st dtown
6 customer 5 234 thisstreet st e town

So when the user selects customer2 from the combobox it will in turn say customer2's id is 3.
3 will then be used to query the customer information and display this in the table.

I hope iam explaining this correctly... this was very common in ms access but all i had todo was hide the column with the id so it only displayed the customer name. When a new customer was selected it would take the hidden id column value to populate a table. It was extremely easy.
GeneralRe: JCOMBOBOX Pin
Richard MacCutchan4-Dec-12 7:10
mvpRichard MacCutchan4-Dec-12 7:10 
GeneralRe: JCOMBOBOX Pin
Chrisloys4-Dec-12 7:12
memberChrisloys4-Dec-12 7:12 
GeneralRe: JCOMBOBOX Pin
Richard MacCutchan4-Dec-12 7:34
mvpRichard MacCutchan4-Dec-12 7:34 
GeneralRe: JCOMBOBOX Pin
Chrisloys4-Dec-12 7:41
memberChrisloys4-Dec-12 7:41 
GeneralRe: JCOMBOBOX Pin
Richard MacCutchan4-Dec-12 7:44
mvpRichard MacCutchan4-Dec-12 7:44 
GeneralRe: JCOMBOBOX Pin
Chrisloys4-Dec-12 7:47
memberChrisloys4-Dec-12 7:47 
GeneralRe: JCOMBOBOX Pin
Richard MacCutchan4-Dec-12 8:24
mvpRichard MacCutchan4-Dec-12 8:24 
Questionneed help Pin
dipfol29-Nov-12 18:56
memberdipfol29-Nov-12 18:56 
AnswerRe: need help Pin
AprNgp29-Nov-12 21:08
memberAprNgp29-Nov-12 21:08 
AnswerRe: need help Pin
Richard MacCutchan29-Nov-12 22:51
mvpRichard MacCutchan29-Nov-12 22:51 
Questionextract battery percentage Pin
akki23099127-Nov-12 21:55
memberakki23099127-Nov-12 21:55 
AnswerRe: extract battery percentage Pin
Richard MacCutchan28-Nov-12 0:59
mvpRichard MacCutchan28-Nov-12 0:59 
Questioni have a problem around System.console, am using eclipse Pin
Member 963455227-Nov-12 1:31
memberMember 963455227-Nov-12 1:31 
AnswerRe: i have a problem around System.console, am using eclipse Pin
TorstenH.27-Nov-12 2:44
memberTorstenH.27-Nov-12 2:44 
GeneralRe: i have a problem around System.console, am using eclipse Pin
Member 963455228-Nov-12 3:00
memberMember 963455228-Nov-12 3:00 
GeneralRe: i have a problem around System.console, am using eclipse Pin
TorstenH.28-Nov-12 9:36
memberTorstenH.28-Nov-12 9:36 
GeneralRe: i have a problem around System.console, am using eclipse Pin
Member 963455229-Nov-12 0:43
memberMember 963455229-Nov-12 0:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.161208.2 | Last Updated 5 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid