Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / April 2006

Tip: Looking for answers? Try searching our database.

Microsoft][ODBC Driver Manager] Invalid cursor state -getting this error,please help

Thread view: 
sona_raj - 04 Apr 2006 10:51 GMT
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();


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.