Inserting and Java Database Auto Increment Problem
Hello to all java programmers I have a java database problem specifically the auto increment. In my MSAccess I have a table named "Confirm" and in that table I got two fields, the "confirm" which is set to text and the "id" which is set to auto number or auto increment which is also my primary key. In my java application I have a textfield then a button save. If the button is clicked, the text in the textfield will be saved in the database field "confirm" then the id will increment. In my code, what I did is this:
I don't know what code to put in "missing code here" in order the program to work and the id will auto increment.
1 Year Ago
Related Article:Java database access solutions
is a Java discussion thread by xaelophorus that has 1 reply, was last updated 1 year ago and has been tagged with the keywords: access, database, java, jdbc.