Click here to Skip to main content
15,917,859 members
Home / Discussions / Java
   

Java

 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan7-Jan-11 8:58
mveRichard MacCutchan7-Jan-11 8:58 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Arman S.7-Jan-11 9:23
Arman S.7-Jan-11 9:23 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
jschell8-Jan-11 8:59
jschell8-Jan-11 8:59 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan8-Jan-11 21:49
mveRichard MacCutchan8-Jan-11 21:49 
GeneralRe: Comparing values in the table with the value the user keyed in [modified] Pin
pancakeleh9-Jan-11 16:59
pancakeleh9-Jan-11 16:59 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan9-Jan-11 23:00
mveRichard MacCutchan9-Jan-11 23:00 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
pancakeleh10-Jan-11 19:43
pancakeleh10-Jan-11 19:43 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan10-Jan-11 23:21
mveRichard MacCutchan10-Jan-11 23:21 
pancakeleh wrote:
however i am rushing out this.


That is a sure recipe for disaster.

You have the following statement within your try block, after you have opened your connection to the database.
if(incidenteidtxt != null){

I would assume that if the value is null there is no point in accessing your database, so you should make this test earlier.

Other than that I cannot quite figure out what your code is doing, although it looks like you are reading the database in sequence, and every time you see a record that does not match the incident id, you call your updateIncident method to do something.
I must get a clever new signature for 2011.

GeneralRe: Comparing values in the table with the value the user keyed in Pin
pancakeleh12-Jan-11 21:48
pancakeleh12-Jan-11 21:48 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan12-Jan-11 22:06
mveRichard MacCutchan12-Jan-11 22:06 
QuestionNeed urgent help in assignment of JAVA, any idea suggestion plz Pin
aesthetic.crazy5-Jan-11 12:13
aesthetic.crazy5-Jan-11 12:13 
AnswerRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
Richard MacCutchan5-Jan-11 21:41
mveRichard MacCutchan5-Jan-11 21:41 
AnswerRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
David Skelly5-Jan-11 22:19
David Skelly5-Jan-11 22:19 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
aesthetic.crazy5-Jan-11 23:52
aesthetic.crazy5-Jan-11 23:52 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
David Skelly6-Jan-11 3:26
David Skelly6-Jan-11 3:26 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
aesthetic.crazy6-Jan-11 10:38
aesthetic.crazy6-Jan-11 10:38 
AnswerRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
jschell6-Jan-11 9:25
jschell6-Jan-11 9:25 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
aesthetic.crazy6-Jan-11 10:39
aesthetic.crazy6-Jan-11 10:39 
GeneralRe: Need urgent help in assignment of JAVA, any idea suggestion plz Pin
jschell7-Jan-11 13:49
jschell7-Jan-11 13:49 
QuestionCreating an ArrayBinaryTree Pin
nee-kow5-Jan-11 6:48
nee-kow5-Jan-11 6:48 
AnswerRe: Creating an ArrayBinaryTree Pin
David Skelly5-Jan-11 22:16
David Skelly5-Jan-11 22:16 
GeneralRe: Creating an ArrayBinaryTree Pin
nee-kow5-Jan-11 22:44
nee-kow5-Jan-11 22:44 
GeneralRe: Creating an ArrayBinaryTree Pin
David Skelly6-Jan-11 3:31
David Skelly6-Jan-11 3:31 
QuestionI need help. Pin
nee-kow5-Jan-11 6:00
nee-kow5-Jan-11 6:00 
AnswerRe: I need help. Pin
Richard MacCutchan5-Jan-11 21:39
mveRichard MacCutchan5-Jan-11 21:39 

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.