Just a heads up about making sub-forms non-editable.
I want to make the Purchase Order form and subform non-editable.
When I make the Purchase Order form non-editable, the subform also becomes non-editable - I cannot change or insert data - but unfortunately Navision still lets me delete a row from the subform.
Even this code (in the PO form) still allows for rows to be deleted:
CurrForm.PurchLines.EDITABLE := FALSE;
However, the following code (in the PO form) blocks all editing, including row deletion:
CurrForm.PurchLines.FORM.EDITABLE := FALSE;
Alastair Farrugia
0