I have two tables
Tabel1 ->(SR_NO,AH,Model,Price,Qty) SR_NO(PK)
Tabel2 -> (Id,Invoice_NO,SR_NO,Customer_Name,Company_Name,Model_Name,Qty,Price,Amount)
Invoice_NO and SR_NO(FK).
when I insert values in Tabel2
i get an error
The INSERT statement conflicted with the FOREIGN KEY constraint
what is the problem and how can it be solved.??
What I have tried:
I rebuild the relation.
I reenter the values