son.of.the.morning Posted October 28, 2010 Share Posted October 28, 2010 I have posted one set of values into my database and it worked fine but when i input another set they wont go inside unless i changes the value of the primary index colum. I want to be able to insert a new values regardless of the primary index value. Any idears...? Quote Link to comment Share on other sites More sharing options...
joel24 Posted October 28, 2010 Share Posted October 28, 2010 are you trying to set the primary key on the insert query? or is it an automatically incrementing field? Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted October 28, 2010 Share Posted October 28, 2010 A primary key index should be an auto incremented integer. There's no reason you should be specifying its value. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.