Click here to Skip to main content
15,920,603 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii ,

I am getting error when i try to delete which is already in reference ..

the DELETE statement conflicted with the REFERENCE constraint "FK_Leaves_dfd". The conflict occurred in database "ffdfg", table "fdf", column 'ffd'. The statement has been terminated.


can any one suggest me any alternative message to display for client understanding
Posted

1 solution

It depends. Here few samples

You're trying to delete a transaction which is related to Parent transaction.

You're trying to delete a Customer who has purchased materials.

You're trying to delete a material which has stock in system.

That's it. Someone could give you more better messages.
 
Share this answer
 
Comments
[no name] 31-Oct-13 5:48am    
Thanks thats it .. i dont want to go in much details .. just wanted to check some other types of message which can be usable for me to choose ... thanks anyways

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900