Saving New Records Into Access Database for Student Project...
843859Mar 28 2008 — edited Apr 1 2008Hi, I'm relatively new to java and decided to produce a project using Java, JDBC, SQL & Access.
I can retrieve data from my database, however i am struggling with the saving of new data..
I am using several Jtextfields to input each field, and using a single Jbutton to save the data as awhole record into access.
The Jtextfields contain only integer values, such as IDs and dates..
I have the actionlistener for the button, a dataprocessing class and a databaseconnectivity class that should all link together..
Am i correct in thinking i must use an array to store all data in Jtextfields, before passing it to the dataprocessing class where it is then saved?
Any examples would be very helpful...as i am not very good with arrays by the looks of things!
I apologise in advance if this is posted within the wrong section or is beneath the level often found here..
I am rather desperate however... :o(