code:this code is to save a record:
'm getting error when i click save button.
this is what the modify button does.please help me in this regard.
thanks in advance
String RowIndex;
RowIndex = rsAEW.getString("CurrentJobIndex");
stAEW.executeUpdate("UPDATE tblCurrentJob SET CandidateId = '" +
JTFId.getText() + "', CurrentCompany = '" +
JTFCompany.getText() + "', Designation = '" +
JTFDesignation.getText() + "', CurrentSalary = '" +
JTFSalary.getText() + "', Experience = '" +
JTFExperience.getText() +
"' WHERE CurrentJobIndex = " + RowIndex);
FrmCurrentJob.reloadRecord("SELECT * FROM tblCurrentJob WHERE
CurrentJobIndex = " + RowIndex + " ORDER BY CandidateId ASC");
JOptionPane.showMessageDialog(null,"Changes in the record has been
successfully save.","Candidate Management
System",JOptionPane.INFORMATION_MESSAGE);
dispose();
scoffer - 07 Apr 2006 11:58 GMT
On witch command you have this error??
> code:this code is to save a record:
> 'm getting error when i click save button.
[quoted text clipped - 17 lines]
> System",JOptionPane.INFORMATION_MESSAGE);
> dispose();