MySQL Forums
Forum List  »  Delphi

Re: Key Violations
Posted by: Ed Allahverdian
Date: May 21, 2006 05:39PM

Setting the SQLTable.GetMetaData to False did not solve the problem at least not for my simple test application!

I had to actualy set the id field values to a negative number in 'Clientnewrecord' and then it works. Appearntly MYSQL disregards the negative numbers for Auto increment fields and it sets it to correct value!

Options: ReplyQuote

Written By
April 26, 2006 01:38PM
May 12, 2006 06:30AM
Re: Key Violations
May 21, 2006 05:39PM
May 22, 2006 03:46AM
May 24, 2006 06:42AM
May 25, 2006 02:52AM
May 25, 2006 08:32AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.