Avoid the message : Delete selected lines? in a form

andy76andy76 Member Posts: 616
Hello,

I ask you if it is possibile to avodi the message 'Delete selected lines?' in a form in which I don't want the possibility to delete a record.

If I write an Error in trigger Form - OnDeleteRecord() : Boolean

ERROR 'Impossible to delete' for example, the first confirm message 'Delete selected lines?' always come.

Probably I should write something in Table - OnDeleteRecord() but I want to be able to delete from the table if I am in another form or codeunit or report etc..

Thank you very much

Comments

  • kapamaroukapamarou Member Posts: 1,152
    There are properties on the forms (InsertAllowed,ModifyAllowed,DeleteAllowed).
  • andy76andy76 Member Posts: 616
    Thank you very much... It's so simple!!
    I didn't remember these properties..
Sign In or Register to comment.