In my code i need to change the value of Option data type field everytime the button is clicked.
Also i want to Initialise a default value to this when the Form is opened.
Initvalue in the table for field is not working.
Eg: _tableNmRec.“Type” := _tableNmRec.“Type”::Closed; // i want to see this when the form opens.
“Type”:=“Type”::“Closed”; // not working