Field Requiered

Hi all, I have in my form 2 fields requiered,i dont want the user to close the form if this field are Still blank(empty).I just want to know if this is possible to be done in navision. NB: I dont want to put this 2 fields in the main key cause this method will bring me to other key.

Mohamad, Take a look at form 5077 or 5097. In these forms you can see how fields can be checked if they are empty. Best regards, Karl

Mohamad, If you want to force the user to make an entry into a field before saving the record to the database, use the OnBeforePutRecord trigger. Note: If there is an error in the code in this trigger, the system closes the form. -john