I've created form that should insert, edit and delete row by usig CommandButtons. Propierity is set in Command field to New, Edit record and delete.
Generally it works, but its not safe, because it is editing rows without using CommandButton.
I don't know how to make data Source or CommandButton propierities to edit record only with button, not automatically.
Ok...using all properties combination there is simple way:
Just set on Menu Item "OpenMode" to "Viev" and editing is disabled utill user use right CommandButton.
This is how standard AX 2012 forms behave, if created using form templates as described here.
Consider using the
SimpleListDetails
form template. The grid hasAllowEdit
set to No, while the details part allows editing, if in edit mode. Whether edit or view mode is the default is a user setup.