I want to define some fields in the form to take value. The fields are not primary keys. The not blank property does not work. Does anyone have any idea? ](*,)
You could do it like the "VAT Registration No." check on the customer card, insert code to check those fields into the OnQueryCloseForm trigger of the form.
We have done it generically but still need to add refereneces on every form / record that we need , we call the function to check RecRef for that specific record ( we have setup table with Mandatory field per record), and it gives problems sometimes when closing forms with mandatory records not filled in.
Comments
You could do it like the "VAT Registration No." check on the customer card, insert code to check those fields into the OnQueryCloseForm trigger of the form.
Arhontis
https://forum.mibuso.com/search
You have to code it.......
We have done it generically but still need to add refereneces on every form / record that we need , we call the function to check RecRef for that specific record ( we have setup table with Mandatory field per record), and it gives problems sometimes when closing forms with mandatory records not filled in.
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog