It looks like you're new here. Sign in or register to get started.
Chinmoy wrote: Disabling F4 is not possible in NAV. However, changing the Editable property of the Form can be used to block deletion. Create a function in the form, lets say, EnableDisableForm() and put the following code in it: IF Check = FALSE THEN CurrForm.EDITABLE(FALSE) ELSE CurrForm.EDITABLE(TRUE); Call this function in the Form OnAfterGetRecord function.
Comments
However, changing the Editable property of the Form can be used to block deletion.
Create a function in the form, lets say, EnableDisableForm() and put the following code in it:
IF Check = FALSE THEN
CurrForm.EDITABLE(FALSE)
ELSE
CurrForm.EDITABLE(TRUE);
Call this function in the Form OnAfterGetRecord function.
Thanks Chinmoy.
I already had find this way..But forgot to update.