This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
sir i have to design a frame which will take student records in the particular fields , now those records will be stored in database MS access using sql query , what exactly happening is there are 9 buttons in the frame
Ok, we're getting closer to a question. What do you mean by "MY NEXT BUTTON AND PREVIOUS BUTTONS ARE NOT WORKING"?
(NB: I now understand why you are using the JDBC-ODBC bridge).
akash shrimali
Ranch Hand
Joined: Jul 28, 2010
Posts: 45
posted
0
sir , like if we click on the next button , the button must go to next record on the database and should display the next records by making ID as primary key
I think I understand what you are trying to do, but I'm going to have to display my continuing ignorance as to what your question actually is. What is not working? How is it not working? Do you have a stack trace or error message you are working with?
akash shrimali
Ranch Hand
Joined: Jul 28, 2010
Posts: 45
posted
0
sir my select query for next button ( > ) is not retrieving data from database known as student(). as i want this while clicking on this button it must move to next records !!!
selects everything form the table studentrecords. Are there any records in that table? Once you've selected these records you thrown the data away. Is this what you intended to do?
(Your code is quite difficult to follow. Have you considered refactoring in to something more manageable? )
akash shrimali
Ranch Hand
Joined: Jul 28, 2010
Posts: 45
posted
0
Paul Sturrock wrote:Your select statement:
selects everything form the table studentrecords. Are there any records in that table? Once you've selected these records you thrown the data away. Is this what you intended top do?
(Your code is quite difficult to follow. Have you considered refactoring in to something more manageable? )