how to block a record

Hi everybody! I’m a new commer in this forum. Please some body to help me. I have to block some record on my grid. I made a check box for user to check for a field in Database. And I need if the checkbox is cheched, that record should be block. Thanks

Hi, Block means You don’t want to allow delete this record or don’t want to allow to modify this record? If you don’t want to allow to modify record then put code under OnModify trigger of table like ERROR(ErrorMessage) If you don’t want to allow to delte record then put code under OnDelete trigger of table like ERROR(ErrorMessage)