Hello. I am currently working on a project in NAV 2009 and I can't find a way on how to validate fields in creating a new customer in Customer Card. I would like to prompt an error message if a required field is empty upon leaving or closing the page. I tried TESTFIELD on the OnInsert, OnOpenPage, OnAfterGetCurrRecord but even though the page is still not opening, the error message appears. Is there any way on how to do this? Thank you.
0
Answers
Check what is the CloseAction then return EXIT(FALSE) so the page stays open.