Kosmik
Honorary Master
Were you trying to store a duplicate of a foreign record in the table? You might have got a circular dependency but as was said, more than likely you are creating a record with a duplicate key but by the wording, it might not be the primary key of the table in question. You likely had a uniqueness on the foreign relationship ie enforcing a one to one when it should be many to one.