It occurred because you tried to create a foreign key from tblDomare.PersNR
to tblBana.BanNR
but/and the values in tblDomare.PersNR
didn’t match with any of the values in tblBana.BanNR
. You cannot create a relation which violates referential integrity.